alexfh requested changes to this revision.
alexfh added inline comments.
This revision now requires changes to proceed.
================
Comment at: test/clang-tidy/readability-delete-null-pointer.cpp:67
+ // CHECK-MESSAGES: :[[@LINE-2]]:7: warning: 'if' statement is
unnecessary; deleting null pointer has no effect
[readability-delete-null-pointer]
+ // CHECK-FIXES: {{^ }}
+ // CHECK-FIXES-NEXT: delete mp;
----------------
This should match the comment to verify the `if` is deleted.
https://reviews.llvm.org/D29726
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits