[PATCH] D15710: [clang-tidy] Add non-inline function definition and variable definition check in header files.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 5 08:54:58 PST 2016


hokein added inline comments.

================
Comment at: docs/clang-tidy/checks/misc-definitions-in-headers.rst:20
@@ +19,3 @@
+   const int c = 1;
+   namespace {
+     int f = 2;
----------------
Done. I have also updated my comments here for these cases. Right now it should be ready for review again. Thanks.


http://reviews.llvm.org/D15710





More information about the cfe-commits mailing list