diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-08-27 17:50:07 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-08-27 17:50:07 +0000 |
commit | c210cb7a358d14cdd93b58562f33ff5ed2d895c1 (patch) | |
tree | 3e97742793c7a88ed7377cfc8ac1476474bc37c0 /test/Analysis/base-init.cpp | |
parent | be22cb84f32cfa6cf0b6bdaf523288b747bb0f18 (diff) |
[analyzer] Inline constructors for any object with a trivial destructor.
This allows us to better reason about status objects, like Clang's own
llvm::Optional (when its contents are trivially destructible), which are
often intended to be passed around by value.
We still don't inline constructors for temporaries in the general case.
<rdar://problem/11986434>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/base-init.cpp')
-rw-r--r-- | test/Analysis/base-init.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/Analysis/base-init.cpp b/test/Analysis/base-init.cpp index e63d50855e..b8d0689713 100644 --- a/test/Analysis/base-init.cpp +++ b/test/Analysis/base-init.cpp @@ -1,5 +1,4 @@ // RUN: %clang_cc1 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-store region -analyzer-ipa=inlining -verify %s -// XFAIL: * void clang_analyzer_eval(bool); |