[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
Mon Jan 4 05:35:20 PST 2016


hokein added inline comments.

================
Comment at: clang-tidy/misc/DefinitionsInHeadersCheck.cpp:31
@@ +30,3 @@
+  // inline function with external linkage, class template, non-static function
+  // template, static data member of a class template, member function of a
+  // class template, or template specialization for which some template
----------------
@aaron, what do you mean the AST matcher here? Could you explain it a bit more? 


http://reviews.llvm.org/D15710





More information about the cfe-commits mailing list