diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-14 15:54:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-14 16:04:31 +0100 |
commit | f7e335ddb7223d421dc479c9bf8f1d8e710a9d30 (patch) | |
tree | 7107a4e1d331643b7c03095ad37493df6a7ef20d /compilerplugins/clang/plugin.hxx | |
parent | 4eb7f3911921817a8f8d56a2bafb54d1fd12afcd (diff) |
const improvement
Change-Id: I03815f33117a2927b1882d221f159a5de8d3ba78
Diffstat (limited to 'compilerplugins/clang/plugin.hxx')
-rw-r--r-- | compilerplugins/clang/plugin.hxx | 2 |
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 ); |