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/Modules | |
| 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/Modules')
| -rw-r--r-- | clang/test/Modules/redecl-merge.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/redecl-merge.m b/clang/test/Modules/redecl-merge.m index 2ddd563b133..d7930aca2ec 100644 --- a/clang/test/Modules/redecl-merge.m +++ b/clang/test/Modules/redecl-merge.m @@ -1,6 +1,6 @@ // RUN: rm -rf %t -// RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -I %S/Inputs %s -verify -// RUN: %clang_cc1 -x objective-c++ -fmodules -fmodule-cache-path %t -I %S/Inputs %s -verify +// RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -I %S/Inputs %s -verify -Wno-objc-root-class +// RUN: %clang_cc1 -x objective-c++ -fmodules -fmodule-cache-path %t -I %S/Inputs %s -verify -Wno-objc-root-class @class C2; @class C3; @class C3; |

