mgehre added inline comments.

================
Comment at: test/clang-tidy/readability-redundant-inline.cpp:6
@@ +5,3 @@
+// CHECK-MESSAGES: :[[@LINE-1]]:14: warning: 'inline' is redundant because 
method body is defined inside class [readability-redundant-inline]
+// CHECK-FIXES: {{^}}  int f1()
+    return 0;
----------------
Personally, I never use "inline" to mean anything else than "multiple 
definitions can appear". I didn't know that
compilers still respected this.

Does that mean that the whole checker is useless?


http://reviews.llvm.org/D18914



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

Reply via email to