[PATCH] D45936: update readability-identifier-naming-objc test to use interface ivar. Implementation ivars are not supported in 32-bits OS.

Yan Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 22 17:42:45 PDT 2018


Wizard created this revision.
Herald added subscribers: cfe-commits, klimek.

Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D45936

Files:
  test/clang-tidy/readability-identifier-naming-objc.m


Index: test/clang-tidy/readability-identifier-naming-objc.m
===================================================================
--- test/clang-tidy/readability-identifier-naming-objc.m
+++ test/clang-tidy/readability-identifier-naming-objc.m
@@ -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 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45936.143496.patch
Type: text/x-patch
Size: 655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180423/1e089ab3/attachment.bin>


More information about the cfe-commits mailing list