Commit Graph

4 Commits

Author SHA1 Message Date
George Karpenkov faff2291a9 [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default
Differential Revision: https://reviews.llvm.org/D51251

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340963 91177308-0d34-0410-b5e6-96231b3b80d8
2018-08-29 20:29:17 +00:00
Jan Korous 195459d046 [analyzer][test] Set C++14 as language standard for test depending on new
features

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329225 91177308-0d34-0410-b5e6-96231b3b80d8
2018-04-04 19:58:48 +00:00
Artem Dergachev e7408fe366 [analyzer] Fix test triple in missing-bind-temporary.cpp.
Otherwise the default triple for x86-windows-msvc2015 auto-inserts
__attribute__((thiscall)) to some calls.

Fixes the respective buildbot.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328903 91177308-0d34-0410-b5e6-96231b3b80d8
2018-03-30 21:22:35 +00:00
Artem Dergachev fe12415cba [CFG] [analyzer] Work around a disappearing CXXBindTemporaryExpr.
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


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328895 91177308-0d34-0410-b5e6-96231b3b80d8
2018-03-30 19:25:39 +00:00