alexfh added inline comments.
================
Comment at: test/clang-tidy/misc-definitions-in-headers.hpp:5
@@ +4,3 @@
+// CHECK-MESSAGES: :[[@LINE-1]]:5: warning: function 'f' defined in a header
file; function definitions in header files can lead to ODR violations
+// CHECK-FIXES: inline int f() {
+ return 1;
----------------
Now please address the "including the check name" part and I'm happy ;)
http://reviews.llvm.org/D15710
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits