forked from qt-creator/qt-creator
		
	Revert "CppHighlighter: highlight all functions/methods."
This reverts commit e3e67467cfea5934f16a95385761455b0c495a0d Reason is that it shows errors for calls to function-like macros. For example, any use of Q_DISABLE_COPY results in invalid errors. Change-Id: I1fd1473ac5a30da5b9aebf6a3f0f11055bdbe8ad Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
This commit is contained in:
		@@ -107,7 +107,6 @@ protected:
 | 
			
		||||
    bool maybeType(const Name *name) const;
 | 
			
		||||
    bool maybeMember(const Name *name) const;
 | 
			
		||||
    bool maybeStatic(const Name *name) const;
 | 
			
		||||
    bool maybeFunction(const Name *name) const;
 | 
			
		||||
    bool maybeVirtualMethod(const Name *name) const;
 | 
			
		||||
 | 
			
		||||
    void checkName(NameAST *ast, Scope *scope = 0);
 | 
			
		||||
@@ -143,7 +142,6 @@ protected:
 | 
			
		||||
 | 
			
		||||
    virtual bool visit(SimpleNameAST *ast);
 | 
			
		||||
    virtual bool visit(DestructorNameAST *ast);
 | 
			
		||||
    virtual bool visit(ParameterDeclarationAST *ast);
 | 
			
		||||
    virtual bool visit(QualifiedNameAST *ast);
 | 
			
		||||
    virtual bool visit(TemplateIdAST *ast);
 | 
			
		||||
 | 
			
		||||
@@ -171,7 +169,6 @@ private:
 | 
			
		||||
    QList<Document::DiagnosticMessage> _diagnosticMessages;
 | 
			
		||||
    QSet<QByteArray> _potentialTypes;
 | 
			
		||||
    QSet<QByteArray> _potentialMembers;
 | 
			
		||||
    QSet<QByteArray> _potentialFunctions;
 | 
			
		||||
    QSet<QByteArray> _potentialVirtualMethods;
 | 
			
		||||
    QSet<QByteArray> _potentialStatics;
 | 
			
		||||
    QList<AST *> _astStack;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user