summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppsemanticinfo.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2012-03-29 15:52:05 +0200
committerErik Verbruggen <erik.verbruggen@nokia.com>2012-03-29 15:53:23 +0200
commit210c191216961eefe58126af0af942302ff30cf2 (patch)
tree9c5e758d0b441d22fcd4db14cee300cb91ba87f9 /src/plugins/cpptools/cppsemanticinfo.h
parente639a2381fd755819cb93992c66dca03bb225f83 (diff)
downloadqt-creator-210c191216961eefe58126af0af942302ff30cf2.tar.gz
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>
Diffstat (limited to 'src/plugins/cpptools/cppsemanticinfo.h')
-rw-r--r--src/plugins/cpptools/cppsemanticinfo.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppsemanticinfo.h b/src/plugins/cpptools/cppsemanticinfo.h
index acc1705424..cf61b74559 100644
--- a/src/plugins/cpptools/cppsemanticinfo.h
+++ b/src/plugins/cpptools/cppsemanticinfo.h
@@ -52,8 +52,7 @@ public:
FieldUse,
StaticUse,
VirtualMethodUse,
- LabelUse,
- FunctionUse
+ LabelUse
};
typedef TextEditor::SemanticHighlighter::Result Use;