summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-02-22 02:59:24 +0000
committerAnna Zaks <ganna@apple.com>2013-02-22 02:59:24 +0000
commit04e7ff43a19692f857a60da16b0102b8c38569ba (patch)
tree7972dcfed4c6b57df6837fc8beb558646a822e33 /clang/test
parentcd4218f5c14e6a3194c4726b06d9d68841f59083 (diff)
downloadbcm5719-llvm-04e7ff43a19692f857a60da16b0102b8c38569ba.tar.gz
bcm5719-llvm-04e7ff43a19692f857a60da16b0102b8c38569ba.zip
[analyzer] Place all inlining policy checks into one palce
Previously, we had the decisions about inlining spread out over multiple functions. In addition to the refactor, this commit ensures that we will always inline BodyFarm functions as long as the Decl is available. This fixes false positives due to those functions not being inlined when no or minimal inlining is enabled such (as shallow mode). llvm-svn: 175857
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Analysis/NSString.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Analysis/NSString.m b/clang/test/Analysis/NSString.m
index e7ac730c72e..e3900334831 100644
--- a/clang/test/Analysis/NSString.m
+++ b/clang/test/Analysis/NSString.m
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -triple i386-apple-darwin10 -analyze -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -analyzer-store=region -analyzer-constraints=range -verify -Wno-objc-root-class %s
+// RUN: %clang_cc1 -triple i386-apple-darwin10 -analyze -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -analyzer-store=region -analyzer-constraints=range -analyzer-config mode=shallow -verify -Wno-objc-root-class %s
// RUN: %clang_cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -analyzer-store=region -analyzer-constraints=range -verify -Wno-objc-root-class %s
OpenPOWER on IntegriCloud