[PATCH] [clang-tidy] Add a generic header guard checker + LLVM implementation.

Benjamin Kramer benny.kra at gmail.com
Wed Aug 13 06:07:10 PDT 2014


- Clean PPCallbacks state after leaving file.
- Comment fixes.
- Also apply the style to header files outside of include/

http://reviews.llvm.org/D4867

Files:
  clang-tidy/CMakeLists.txt
  clang-tidy/llvm/CMakeLists.txt
  clang-tidy/llvm/HeaderGuardCheck.cpp
  clang-tidy/llvm/HeaderGuardCheck.h
  clang-tidy/llvm/LLVMTidyModule.cpp
  clang-tidy/utils/CMakeLists.txt
  clang-tidy/utils/HeaderGuard.cpp
  clang-tidy/utils/HeaderGuard.h
  unittests/clang-tidy/LLVMModuleTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4867.12442.patch
Type: text/x-patch
Size: 19464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140813/d64199e3/attachment.bin>


More information about the cfe-commits mailing list