which is automatic with proper spelling :).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147555
91177308-0d34-0410-b5e6-
96231b3b80d8
}
def ObjCSuppressAutosynthesis : InheritableAttr {
- let Spellings = ["objc_suppress_autosynhesis"];
+ let Spellings = ["objc_suppress_autosynthesis"];
}
def Unused : InheritableAttr {
// RUN: %clang_cc1 -x objective-c -fsyntax-only -fobjc-default-synthesize-properties -verify %s
// RUN: %clang_cc1 -x objective-c++ -fsyntax-only -fobjc-default-synthesize-properties -verify %s
+#if __has_attribute(objc_suppress_autosynthesis)
__attribute ((objc_suppress_autosynthesis))
+#endif
@interface NoAuto
@property int NoAutoProp; // expected-note 2 {{property declared here}}
@end