[PATCH] D22069: clang-tidy modernize-loop-convert: preserve type of alias declaration (bug 28341)
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 19 06:06:59 PDT 2016
alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.
LG
================
Comment at: test/clang-tidy/modernize-loop-convert-extra.cpp:1070
@@ +1069,3 @@
+ // CHECK-FIXES: for(unsigned char value : v)
+ // CHECK-FIXES-NOT: unsigned char value = v[i];
+ if (value > 127)
----------------
I'd just `CHECK-FIXES-NEXT: if (value > 127)`
https://reviews.llvm.org/D22069
More information about the cfe-commits
mailing list