[PATCH] D20512: [PATCH] Bug 27475 - Request header guard check processes .hpp files as well as .h files

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Tue May 24 16:30:36 PDT 2016


alexfh added inline comments.

================
Comment at: clang-tidy/llvm/HeaderGuardCheck.cpp:18
@@ +17,3 @@
+  const std::string RawStringHeaderFileExtensions(
+              Options.getLocalOrGlobal("HeaderFileExtensions", ",h,hh,hpp,hxx"));
+  utils::parseHeaderFileExtensions(RawStringHeaderFileExtensions,
----------------
This should be done in the constructor, not on each call to this method.


http://reviews.llvm.org/D20512





More information about the cfe-commits mailing list