sbenza added inline comments.

================
Comment at: clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp:35
@@ +34,3 @@
+
+  //Array subscript on a pointer (not an array) is also pointer arithmetic
+  Finder->addMatcher(
----------------
Space after //

================
Comment at: 
test/clang-tidy/cppcoreguidelines-pro-bounds-pointer-arithmetic.cpp:68
@@ +67,3 @@
+  int a[3];
+  i = a[2]; //OK, access to array
+
----------------
Space after //


http://reviews.llvm.org/D13311



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to