diff options
| author | Patrick Beard <pcbeard@mac.com> | 2012-04-06 18:12:22 +0000 |
|---|---|---|
| committer | Patrick Beard <pcbeard@mac.com> | 2012-04-06 18:12:22 +0000 |
| commit | acfbe9e1f22886d82c503cd0c20dc0ef3bf9f12a (patch) | |
| tree | e9cefdee91276a540df86ad882a3bdf60072bdd2 /clang/test/SemaObjC/unimplemented-protocol-prop.m | |
| parent | 780af51505a1fedb4e3ced8e0b5832c4d4952a27 (diff) | |
| download | bcm5719-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/SemaObjC/unimplemented-protocol-prop.m')
| -rw-r--r-- | clang/test/SemaObjC/unimplemented-protocol-prop.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/unimplemented-protocol-prop.m b/clang/test/SemaObjC/unimplemented-protocol-prop.m index fa3ed8ef121..1438cf595d1 100644 --- a/clang/test/SemaObjC/unimplemented-protocol-prop.m +++ b/clang/test/SemaObjC/unimplemented-protocol-prop.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s +// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s @protocol PROTOCOL0 @required |

