summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppfindreferences.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-09-29 16:20:12 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2009-09-29 16:20:37 +0200
commitf62ecb37f37dbeee74d864ea55f3a4e951441aaa (patch)
tree03107566ed123f94a914eeab5a949369a4c3ea39 /src/plugins/cpptools/cppfindreferences.cpp
parentc3a5a4877cb341c4f49479ce63add72a42b90c37 (diff)
downloadqt-creator-f62ecb37f37dbeee74d864ea55f3a4e951441aaa.tar.gz
Preprocess the given expression when trying to resolve names.
Diffstat (limited to 'src/plugins/cpptools/cppfindreferences.cpp')
-rw-r--r--src/plugins/cpptools/cppfindreferences.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppfindreferences.cpp b/src/plugins/cpptools/cppfindreferences.cpp
index 9f2f2b3f2c..2f6964cbe3 100644
--- a/src/plugins/cpptools/cppfindreferences.cpp
+++ b/src/plugins/cpptools/cppfindreferences.cpp
@@ -237,7 +237,7 @@ protected:
const QList<TypeOfExpression::Result> results =
typeofExpression(expression, _doc, lastVisibleSymbol,
- TypeOfExpression::NoPreprocess);
+ TypeOfExpression::Preprocess);
QList<Symbol *> candidates;