[PATCH] D21298: [Clang-tidy] delete null check

Piotr Padlewski via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 10 23:18:31 PST 2016


Prazek added inline comments.


================
Comment at: test/clang-tidy/misc-delete-null-pointer.cpp:11
+  }
+  // CHECK-FIXES: delete p;
+  int *p3 = new int[3];
----------------
Is there check-fixes-not? This seems to be required here, because even if the fixit won't happen here, the test will pass.


https://reviews.llvm.org/D21298





More information about the cfe-commits mailing list