hokein marked an inline comment as done.

================
Comment at: docs/clang-tidy/checks/misc-definitions-in-headers.rst:19
@@ +18,3 @@
+   }
+
+   // error
----------------
About the internal linkage variable definition, how about only warning the 
variable in unnamed namespace?

The const/static variable definitions in header are used more widely (We also 
find there are a lot of such usages in Google code repo), and Google C++ code 
style doesn't explicitly give suggestions about such const/static usages.


http://reviews.llvm.org/D15710



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

Reply via email to