summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/salbool.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-11-22 19:57:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-11-23 08:20:53 +0100
commitf23aa1a51cb1beea4ebe3a61ba0c9b3abd844fd9 (patch)
treea7f6190e22719780c3102fca2ec5a368e29075bb /compilerplugins/clang/salbool.cxx
parent80cf278d365a2d357c70b8c28947c91fa97e7a99 (diff)
Bump compiler plugins Clang baseline to 5.0.2
...as discussed at <https://lists.freedesktop.org/archives/libreoffice/2018-November/081435.html> "minutes of ESC call ..." Change-Id: Ia053da171d59747984546f38e19da808825b4f79 Reviewed-on: https://gerrit.libreoffice.org/63832 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins/clang/salbool.cxx')
-rw-r--r--compilerplugins/clang/salbool.cxx4
1 files changed, 2 insertions, 2 deletions
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(),