summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/LookupContext.h
diff options
context:
space:
mode:
authorPrzemyslaw Gorszkowski <pgorszkowski@gmail.com>2013-04-25 18:46:34 +0200
committerErik Verbruggen <erik.verbruggen@digia.com>2013-05-02 15:17:27 +0200
commitd14767a6afd949b0a1f5294c24482a4a00fd249f (patch)
tree8f89bc6b5a60b36dded8848d96b327479e6cf99d /src/libs/cplusplus/LookupContext.h
parente245f2d5f9e3a02a4b6a0cc0ab17f654fa5f0118 (diff)
downloadqt-creator-d14767a6afd949b0a1f5294c24482a4a00fd249f.tar.gz
C++: fix highlighting type when there is using Namespace::Class
If type is not found we try to find 'using' declaration for this type. Task-number: QTCREATORBUG-7903 Change-Id: I569db9e1a8504a5da3115ebbed2e823d5924f6ca Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/libs/cplusplus/LookupContext.h')
-rw-r--r--src/libs/cplusplus/LookupContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/cplusplus/LookupContext.h b/src/libs/cplusplus/LookupContext.h
index 3dbe525766..b3b7104154 100644
--- a/src/libs/cplusplus/LookupContext.h
+++ b/src/libs/cplusplus/LookupContext.h
@@ -311,6 +311,8 @@ public:
}
private:
+ QList<LookupItem> lookupByUsing(const Name *name, Scope *scope) const;
+
// The current expression.
Document::Ptr _expressionDocument;