summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/missing-bind-temporary.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer][test] Set C++14 as language standard for test depending on newJan Korous2018-04-041-1/+1
| | | | | | features llvm-svn: 329225
* [analyzer] Fix test triple in missing-bind-temporary.cpp.Artem Dergachev2018-03-301-2/+2
| | | | | | | | | Otherwise the default triple for x86-windows-msvc2015 auto-inserts __attribute__((thiscall)) to some calls. Fixes the respective buildbot. llvm-svn: 328903
* [CFG] [analyzer] Work around a disappearing CXXBindTemporaryExpr.Artem Dergachev2018-03-301-0/+130
Sometimes template instantiation causes CXXBindTemporaryExpr to be missing in its usual spot. In CFG, temporary destructors work by relying on CXXBindTemporaryExprs, so they won't work in this case. Avoid the crash and notify the clients that we've encountered an unsupported AST by failing to provide the ill-formed construction context for the temporary. Differential Revision: https://reviews.llvm.org/D44955 llvm-svn: 328895
OpenPOWER on IntegriCloud