summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjCXX/cstyle-block-pointer-cast.mm
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/SemaObjCXX/cstyle-block-pointer-cast.mm
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/SemaObjCXX/cstyle-block-pointer-cast.mm')
-rw-r--r--clang/test/SemaObjCXX/cstyle-block-pointer-cast.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjCXX/cstyle-block-pointer-cast.mm b/clang/test/SemaObjCXX/cstyle-block-pointer-cast.mm
index 72f5283dea3..0f982bae62a 100644
--- a/clang/test/SemaObjCXX/cstyle-block-pointer-cast.mm
+++ b/clang/test/SemaObjCXX/cstyle-block-pointer-cast.mm
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fblocks -Wno-objc-root-class %s
// radar 7562285
typedef int (^blocktype)(int a, int b);
OpenPOWER on IntegriCloud