forked from qt-creator/qt-creator
		
	CppHighlighter: highlight macro references.
Change-Id: I7c90957aa67e03a109af0a722160d4e1c759d716 Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
		
				
					committed by
					
						 Leandro Melo
						Leandro Melo
					
				
			
			
				
	
			
			
			
						parent
						
							85ce5aba62
						
					
				
				
					commit
					85609aff8e
				
			| @@ -72,7 +72,7 @@ public: | ||||
|         return future; | ||||
|     } | ||||
|  | ||||
|     static Future go(Document::Ptr doc, const LookupContext &context); | ||||
|     static Future go(Document::Ptr doc, const LookupContext &context, const QList<Use> ¯oUses); | ||||
|  | ||||
|     static QMap<int, QVector<Use> > chunks(const QFuture<Use> &future, int from, int to) | ||||
|     { | ||||
| @@ -94,7 +94,7 @@ protected: | ||||
|     using ASTVisitor::visit; | ||||
|     using ASTVisitor::endVisit; | ||||
|  | ||||
|     CheckSymbols(Document::Ptr doc, const LookupContext &context); | ||||
|     CheckSymbols(Document::Ptr doc, const LookupContext &context, const QList<Use> ¯oUses); | ||||
|  | ||||
|     bool hasVirtualDestructor(Class *klass) const; | ||||
|     bool hasVirtualDestructor(ClassOrNamespace *binding) const; | ||||
| @@ -174,6 +174,7 @@ private: | ||||
|     QList<AST *> _astStack; | ||||
|     QVector<Use> _usages; | ||||
|     unsigned _lineOfLastUsage; | ||||
|     QList<Use> _macroUses; | ||||
| }; | ||||
|  | ||||
| } // namespace CPlusPlus | ||||
|   | ||||
		Reference in New Issue
	
	Block a user