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/incomplete-implementation.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/SemaObjC/incomplete-implementation.m') diff --git a/clang/test/SemaObjC/incomplete-implementation.m b/clang/test/SemaObjC/incomplete-implementation.m index b10f9f629ec..54f66efcb22 100644 --- a/clang/test/SemaObjC/incomplete-implementation.m +++ b/clang/test/SemaObjC/incomplete-implementation.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s +// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s @interface I - Meth; // expected-note{{method definition for 'Meth' not found}} \ -- cgit v1.2.3