summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/plugin.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-14 15:54:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-14 16:04:31 +0100
commitf7e335ddb7223d421dc479c9bf8f1d8e710a9d30 (patch)
tree7107a4e1d331643b7c03095ad37493df6a7ef20d /compilerplugins/clang/plugin.hxx
parentfdo#68537 Correct icon and tooltip for background color (diff)
downloadcore-f7e335ddb7223d421dc479c9bf8f1d8e710a9d30.tar.gz
core-f7e335ddb7223d421dc479c9bf8f1d8e710a9d30.zip
const improvement
Change-Id: I03815f33117a2927b1882d221f159a5de8d3ba78
Diffstat (limited to 'compilerplugins/clang/plugin.hxx')
-rw-r--r--compilerplugins/clang/plugin.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/plugin.hxx b/compilerplugins/clang/plugin.hxx
index 5af4b04619ce..ff868bf1718f 100644
--- a/compilerplugins/clang/plugin.hxx
+++ b/compilerplugins/clang/plugin.hxx
@@ -62,7 +62,7 @@ class Plugin
// Returns location right after the end of the token that starts at the given location.
SourceLocation locationAfterToken( SourceLocation location );
protected:
- DiagnosticBuilder report( DiagnosticsEngine::Level level, StringRef message, SourceLocation loc = SourceLocation());
+ DiagnosticBuilder report( DiagnosticsEngine::Level level, StringRef message, SourceLocation loc = SourceLocation()) const;
bool ignoreLocation( SourceLocation loc );
bool ignoreLocation( const Decl* decl );
bool ignoreLocation( const Stmt* stmt );