Ignore undefined macros in macro completion

Done with Roberto Raggi
This commit is contained in:
Thorbjørn Lindeijer
2009-02-17 11:09:07 +01:00
parent d94dd392cb
commit a26bef5ff4
2 changed files with 35 additions and 19 deletions

View File

@@ -84,6 +84,10 @@ public:
private:
void addKeywords();
void addMacros(const CPlusPlus::LookupContext &context);
void addMacros_helper(const CPlusPlus::LookupContext &context,
const QString &fileName,
QSet<QString> *processed,
QSet<QString> *definedMacros);
void addCompletionItem(CPlusPlus::Symbol *symbol);
bool completeConstructorOrFunction(CPlusPlus::FullySpecifiedType exprTy,