diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-01-31 15:23:51 +0000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-31 16:42:08 +0100 |
commit | b8ca3737fbdf51038f80db89048ee00db4ba26b4 (patch) | |
tree | aa15085858b29e9ece7cb26e9ae55fc36c15d599 /compilerplugins | |
parent | 470b393fd593440f49f0c3c1e95ef7a41fac0bb5 (diff) |
DiagnosticsEngine::getCustomDiagID isn't const, so don't pass in const engine.
Change-Id: I7e4494b7f1cb62ab27851e34ab4dc6be8e04e1fa
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/compat.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx index 75e46ef696c2..4c8c333d7003 100644 --- a/compilerplugins/clang/compat.hxx +++ b/compilerplugins/clang/compat.hxx @@ -46,7 +46,7 @@ inline clang::QualType getParamType( } inline unsigned getCustomDiagID( - clang::DiagnosticsEngine const & engine, clang::DiagnosticsEngine::Level L, + clang::DiagnosticsEngine & engine, clang::DiagnosticsEngine::Level L, llvm::StringRef FormatString) { #if (__clang_major__ == 3 && __clang_minor__ >= 5) || __clang_major__ > 3 |