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:
Yan Zhang 2018-04-23 01:05:02 +00:00
parent fce3565e73
commit f2876e3385
1 changed files with 2 additions and 5 deletions

View File

@ -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]