Commit 6226cfe1 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Compile.

parent dd6966b2
...@@ -1112,10 +1112,8 @@ void generateAST_cpp(const Snapshot &snapshot, const QDir &cplusplusDir) ...@@ -1112,10 +1112,8 @@ void generateAST_cpp(const Snapshot &snapshot, const QDir &cplusplusDir)
for (DeclarationListAST *iter = xUnit->declaration_list; iter; iter = iter->next) { for (DeclarationListAST *iter = xUnit->declaration_list; iter; iter = iter->next) {
if (FunctionDefinitionAST *funDef = iter->value->asFunctionDefinition()) { if (FunctionDefinitionAST *funDef = iter->value->asFunctionDefinition()) {
if (const QualifiedNameId *qName = funDef->symbol->name()->asQualifiedNameId()) { if (const QualifiedNameId *qName = funDef->symbol->name()->asQualifiedNameId()) {
if (qName->nameCount() != 2) const QString className = oo(qName->base());
continue; const QString methodName = oo(qName->name());
const QString className = oo(qName->nameAt(0));
const QString methodName = oo(qName->nameAt(1));
QTextCursor cursor(&cpp_document); QTextCursor cursor(&cpp_document);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment