r361302 - Remove unicode character from test
Leonard Chan via cfe-commits
cfe-commits at lists.llvm.org
Tue May 21 13:12:00 PDT 2019
Author: leonardchan
Date: Tue May 21 13:12:00 2019
New Revision: 361302
URL: http://llvm.org/viewvc/llvm-project?rev=361302&view=rev
Log:
Remove unicode character from test
Modified:
cfe/trunk/test/SemaObjC/nullability_macro.m
Modified: cfe/trunk/test/SemaObjC/nullability_macro.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/nullability_macro.m?rev=361302&r1=361301&r2=361302&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/nullability_macro.m (original)
+++ cfe/trunk/test/SemaObjC/nullability_macro.m Tue May 21 13:12:00 2019
@@ -1,12 +1,13 @@
// Test that nullability attributes still get merged even though they are
// wrapped with a MacroQualifiedType. This should just compile with no errors.
// RUN: %clang_cc1 %s -Wno-objc-root-class -fsyntax-only -verify
+// expected-no-diagnostics
#define UI_APPEARANCE_SELECTOR __attribute__((annotate("ui_appearance_selector")))
@class UIColor;
@interface Test
- at property(null_resettable, nonatomic, strong)Â UIColor *onTintColor UI_APPEARANCE_SELECTOR; // expected-warning{{treating Unicode character as whitespace}}
+ at property(null_resettable, nonatomic, strong) UIColor *onTintColor UI_APPEARANCE_SELECTOR;
@end
@implementation Test
More information about the cfe-commits
mailing list