From f23aa1a51cb1beea4ebe3a61ba0c9b3abd844fd9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 22 Nov 2018 19:57:38 +0100 Subject: Bump compiler plugins Clang baseline to 5.0.2 ...as discussed at "minutes of ESC call ..." Change-Id: Ia053da171d59747984546f38e19da808825b4f79 Reviewed-on: https://gerrit.libreoffice.org/63832 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- compilerplugins/clang/salbool.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compilerplugins/clang/salbool.cxx') diff --git a/compilerplugins/clang/salbool.cxx b/compilerplugins/clang/salbool.cxx index 9b664e626f0d..ad71435470f0 100644 --- a/compilerplugins/clang/salbool.cxx +++ b/compilerplugins/clang/salbool.cxx @@ -333,8 +333,8 @@ bool SalBool::VisitCStyleCastExpr(CStyleCastExpr * expr) { .getImmediateMacroCallerLoc(loc); if (!isSharedCAndCppCode(callLoc)) { SourceLocation argLoc; - if (compat::isMacroArgExpansion( - compiler, compat::getBeginLoc(expr), &argLoc) + if (compiler.getSourceManager().isMacroArgExpansion( + compat::getBeginLoc(expr), &argLoc) //TODO: check it's the complete (first) arg to the macro && (Lexer::getImmediateMacroName( argLoc, compiler.getSourceManager(), -- cgit >distro/cib/libreoffice-6-0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky
2015-03-12scripting: use constructor syntax in vbaevents.componentChris Sherlock
2014-04-28prefer makefile-gmake-modeTakeshi Abe