C++ editor: Prefer to use extra selections to find diagnostics.

Change-Id: I5f1c6e29c8386018cfd4d45d8ee63fc3e24311f6
Reviewed-on: http://codereview.qt.nokia.com/3484
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
This commit is contained in:
Christian Kamm
2011-08-24 12:01:50 +02:00
parent 47789fb4f9
commit 6f3dc3198c
3 changed files with 8 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ public:
private:
void clear();
void checkDiagnosticMessage(const CPlusPlus::Document::Ptr &document, unsigned line);
void checkDiagnosticMessage(int pos);
bool matchIncludeFile(const CPlusPlus::Document::Ptr &document, unsigned line);
bool matchMacroInUse(const CPlusPlus::Document::Ptr &document, unsigned pos);
void handleLookupItemMatch(const CPlusPlus::Snapshot &snapshot,