diff options
author | Francois Ferrand <thetypz@gmail.com> | 2010-10-18 17:45:49 +0200 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2012-06-05 09:30:54 +0200 |
commit | 809611f3461bfa9513d2620f62427cf175dea1bb (patch) | |
tree | f32f167ea962814834c419f17552420696a17919 /src/plugins/cpptools/cppsemanticinfo.h | |
parent | 16bca8b06c4f432fbf88e35edbc04c31ff52c864 (diff) | |
download | qt-creator-809611f3461bfa9513d2620f62427cf175dea1bb.tar.gz |
CppHighlighter: highlight all functions/methods.
- Highlight all function/methods (not just virtual methods).
- Highlight as a function even if number of arguments does not match. In
that case, add a diagnostic message to indicate there are too many/too
few arguments.
- Fix highlighting of parameters in function declarations.
These used to be handled indiferently, and they could be mistaken for
type or field references.
- Properly highlight template method calls.
Change-Id: I6e61c9ee47763db95c62314f9cc1c4d398df38b3
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cppsemanticinfo.h')
-rw-r--r-- | src/plugins/cpptools/cppsemanticinfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppsemanticinfo.h b/src/plugins/cpptools/cppsemanticinfo.h index f7adb15d18..612d380462 100644 --- a/src/plugins/cpptools/cppsemanticinfo.h +++ b/src/plugins/cpptools/cppsemanticinfo.h @@ -53,7 +53,8 @@ public: StaticUse, VirtualMethodUse, LabelUse, - MacroUse + MacroUse, + FunctionUse }; typedef TextEditor::SemanticHighlighter::Result Use; |