The diagnostic code at lines 681-686 of cppcodeparser.cpp does not contain a return node; permitting drop-through to the test if(command == COMMAND_CLASS) on line 704. If a \class reference is not defined, this will result in a null-pointer reference on line 707.
Current cppcodeparser.cpp source in gitorious [lines 663-677] has the block from 704-711 commented out as "doing nothing". If this code is, in fact, not needed, then no further patching will be required. Otherwise a return in the diagnostic block or the addition of a check on the pointer will be required to prevent the segfault.