diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-25 13:04:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-11-26 07:12:38 +0100 |
commit | 95d8b368d11eeccc276c0c6ac225144566a1206d (patch) | |
tree | 4d287bb64dbc21a09803594e9f0a103658b6f255 /compilerplugins/clang/doubleconvert.cxx | |
parent | 28f8a26fa12c2f78696864189356db46c1cae30c (diff) |
Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename
...in <https://github.com/llvm/llvm-project/commit/
b0561b3346e7bf0ae974995ca95b917eebde18e1> "[NFC] Refactor representation of
materialized temporaries"
Change-Id: I02fbf6765f9713e4d457f07521129cc9d8db5751
Reviewed-on: https://gerrit.libreoffice.org/83669
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins/clang/doubleconvert.cxx')
-rw-r--r-- | compilerplugins/clang/doubleconvert.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/doubleconvert.cxx b/compilerplugins/clang/doubleconvert.cxx index 95565301b751..2dbff56ca30b 100644 --- a/compilerplugins/clang/doubleconvert.cxx +++ b/compilerplugins/clang/doubleconvert.cxx @@ -53,7 +53,7 @@ bool DoubleConvert::VisitMaterializeTemporaryExpr(MaterializeTemporaryExpr const if (ignoreLocation(materializetemp)) return true; auto cxxConstruct - = dyn_cast<CXXConstructExpr>(materializetemp->GetTemporaryExpr()->IgnoreParenCasts()); + = dyn_cast<CXXConstructExpr>(compat::getSubExpr(materializetemp)->IgnoreParenCasts()); if (!cxxConstruct) return true; if (cxxConstruct->getNumArgs() == 0) |