summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/self-init.m
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-04-24 22:40:01 +0000
committerChad Rosier <mcrosier@apple.com>2012-04-24 22:40:01 +0000
commit155005c071dc11167e7202e890c2eaca18ff4962 (patch)
treed3db55f67b5f420d0bfc762f93887009f3ae397d /clang/test/Analysis/self-init.m
parentbce6b17d7a0d929cf3b0bf29f0169451dde83dce (diff)
downloadbcm5719-llvm-155005c071dc11167e7202e890c2eaca18ff4962.tar.gz
bcm5719-llvm-155005c071dc11167e7202e890c2eaca18ff4962.zip
Add atan, atan2, exp, and log to the builtin math library functions.
With -fno-math-errno (the default for Darwin) or -ffast-math these library function can be marked readnone enabling more opportunities for CSE and other optimizations. rdar://11251464 llvm-svn: 155498
Diffstat (limited to 'clang/test/Analysis/self-init.m')
-rw-r--r--clang/test/Analysis/self-init.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/self-init.m b/clang/test/Analysis/self-init.m
index d5151733430..365096e4454 100644
--- a/clang/test/Analysis/self-init.m
+++ b/clang/test/Analysis/self-init.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=osx.cocoa.SelfInit -fobjc-default-synthesize-properties %s -verify
+// RUN: %clang_cc1 -analyze -analyzer-checker=osx.cocoa.SelfInit -fobjc-default-synthesize-properties -fno-builtin %s -verify
@class NSZone, NSCoder;
@protocol NSObject- (id)self;
OpenPOWER on IntegriCloud