summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/retain-release-gc-only.m
diff options
context:
space:
mode:
authorPatrick Beard <pcbeard@mac.com>2012-04-06 18:12:22 +0000
committerPatrick Beard <pcbeard@mac.com>2012-04-06 18:12:22 +0000
commitacfbe9e1f22886d82c503cd0c20dc0ef3bf9f12a (patch)
treee9cefdee91276a540df86ad882a3bdf60072bdd2 /clang/test/Analysis/retain-release-gc-only.m
parent780af51505a1fedb4e3ced8e0b5832c4d4952a27 (diff)
downloadbcm5719-llvm-acfbe9e1f22886d82c503cd0c20dc0ef3bf9f12a.tar.gz
bcm5719-llvm-acfbe9e1f22886d82c503cd0c20dc0ef3bf9f12a.zip
Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared.
The warning this inhibits, -Wobjc-root-class, is opt-in for now. However, all clang unit tests that would trigger the warning have been updated to use -Wno-objc-root-class. <rdar://problem/7446698> llvm-svn: 154187
Diffstat (limited to 'clang/test/Analysis/retain-release-gc-only.m')
-rw-r--r--clang/test/Analysis/retain-release-gc-only.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/retain-release-gc-only.m b/clang/test/Analysis/retain-release-gc-only.m
index b12e1e04b9a..0340a3c2a14 100644
--- a/clang/test/Analysis/retain-release-gc-only.m
+++ b/clang/test/Analysis/retain-release-gc-only.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.NSAutoreleasePool -analyzer-store=region -fobjc-gc-only -fblocks -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.NSAutoreleasePool -analyzer-store=region -fobjc-gc-only -fblocks -verify -Wno-objc-root-class %s
//===----------------------------------------------------------------------===//
// Header stuff.
OpenPOWER on IntegriCloud