[PATCH] [clang-tidy] Implement the include order checker for LLVM.

Benjamin Kramer benny.kra at gmail.com
Tue Aug 5 08:48:14 PDT 2014


- Updated for the change that reorders the calls to EndOfMainFile in clang.
- Limited new line checking to \n, which should be sufficient.
- Clarified comments a bit.

http://reviews.llvm.org/D4741

Files:
  clang-tidy/llvm/IncludeOrderCheck.cpp
  test/clang-tidy/Inputs/Headers/a.h
  test/clang-tidy/Inputs/Headers/b.h
  test/clang-tidy/Inputs/Headers/clang-c/c.h
  test/clang-tidy/Inputs/Headers/clang/b.h
  test/clang-tidy/Inputs/Headers/gtest/foo.h
  test/clang-tidy/Inputs/Headers/i.h
  test/clang-tidy/Inputs/Headers/j.h
  test/clang-tidy/Inputs/Headers/llvm-c/d.h
  test/clang-tidy/Inputs/Headers/llvm/a.h
  test/clang-tidy/Inputs/Headers/s.h
  test/clang-tidy/check_clang_tidy_fix.sh
  test/clang-tidy/llvm-include-order.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4741.12198.patch
Type: text/x-patch
Size: 8529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140805/8b904469/attachment.bin>


More information about the cfe-commits mailing list