[clang-tools-extra] r330562 - update readability-identifier-naming-objc test to use interface ivar. Implementation ivars are not supported in 32-bits OS.

Yan Zhang via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 22 18:05:02 PDT 2018


Author: wizard
Date: Sun Apr 22 18:05:02 2018
New Revision: 330562

URL: http://llvm.org/viewvc/llvm-project?rev=330562&view=rev
Log:
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

Modified:
    clang-tools-extra/trunk/test/clang-tidy/readability-identifier-naming-objc.m

Modified: clang-tools-extra/trunk/test/clang-tidy/readability-identifier-naming-objc.m
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/readability-identifier-naming-objc.m?rev=330562&r1=330561&r2=330562&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/readability-identifier-naming-objc.m (original)
+++ clang-tools-extra/trunk/test/clang-tidy/readability-identifier-naming-objc.m Sun Apr 22 18:05:02 2018
@@ -3,13 +3,10 @@
 // RUN:  [{key: readability-identifier-naming.ObjcIvarPrefix, value: '_'}]}' \
 // RUN: --
 
- at interface Foo
- at end 
-
- at implementation Foo {
+ at interface Foo {
     int _bar;
     int barWithoutPrefix;
     // CHECK-MESSAGES: :[[@LINE-1]]:9: warning: invalid case style for objc ivar 'barWithoutPrefix' [readability-identifier-naming]
     // CHECK-FIXES: int _barWithoutPrefix;
 }
- at end
+ at end 




More information about the cfe-commits mailing list