[Libreoffice-commits] core.git: compilerplugins/clang

Andrzej Hunt andrzej.hunt at collabora.com
Fri Jan 31 07:42:36 PST 2014


 compilerplugins/clang/compat.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b8ca3737fbdf51038f80db89048ee00db4ba26b4
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date:   Fri Jan 31 15:23:51 2014 +0000

    DiagnosticsEngine::getCustomDiagID isn't const, so don't pass in const engine.
    
    Change-Id: I7e4494b7f1cb62ab27851e34ab4dc6be8e04e1fa
    Signed-off-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx
index 75e46ef..4c8c333 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


More information about the Libreoffice-commits mailing list