forked from OSchip/llvm-project
update readability-identifier-naming-objc test to use interface ivar. Implementation ivars are not supported in 32-bits OS.
Reviewers: alexfh, chandlerc Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D45936 llvm-svn: 330562
This commit is contained in:
parent
fce3565e73
commit
f2876e3385
|
@ -3,10 +3,7 @@
|
|||
// RUN: [{key: readability-identifier-naming.ObjcIvarPrefix, value: '_'}]}' \
|
||||
// RUN: --
|
||||
|
||||
@interface Foo
|
||||
@end
|
||||
|
||||
@implementation Foo {
|
||||
@interface Foo {
|
||||
int _bar;
|
||||
int barWithoutPrefix;
|
||||
// CHECK-MESSAGES: :[[@LINE-1]]:9: warning: invalid case style for objc ivar 'barWithoutPrefix' [readability-identifier-naming]
|
||||
|
|
Loading…
Reference in New Issue