[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 18:08:35 PDT 2018


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rCTE330562: update readability-identifier-naming-objc test to use interface ivar. (authored by Wizard, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D45936?vs=143496&id=143497#toc

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.143497.patch
Type: text/x-patch
Size: 655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180423/7888fa80/attachment.bin>


More information about the cfe-commits mailing list