From acfbe9e1f22886d82c503cd0c20dc0ef3bf9f12a Mon Sep 17 00:00:00 2001 From: Patrick Beard Date: Fri, 6 Apr 2012 18:12:22 +0000 Subject: 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. llvm-svn: 154187 --- clang/test/SemaObjC/invalid-code.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/SemaObjC/invalid-code.m') diff --git a/clang/test/SemaObjC/invalid-code.m b/clang/test/SemaObjC/invalid-code.m index e06c5b566d3..290f9d51922 100644 --- a/clang/test/SemaObjC/invalid-code.m +++ b/clang/test/SemaObjC/invalid-code.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -fsyntax-only -verify -fobjc-exceptions +// RUN: %clang_cc1 -fsyntax-only -verify -fobjc-exceptions -Wno-objc-root-class %s // rdar://6124613 void test1() { -- cgit v1.2.3