llvm-project/clang-tools-extra/clang-tidy/llvm
Zachary Turner 18cfbc4b8e Analyze include order on a per-file basis.
The include order check would get notified of all include
directives in a depth-first manner.  This created the
possibility of an include directive from a header file
interfering with the sort order of a set of two distinct
blocks from the top level cpp file, if that include directive
was on just the right line.

With this patch we bucket the include directives by the file
in which they appear in and process one bucket at a time,
so that directives from different files do not get mixed
together into the same list.

Reviewed By: alexfh
Differential Revision: https://reviews.llvm.org/D23434

llvm-svn: 278546
2016-08-12 18:38:26 +00:00
..
CMakeLists.txt [clang-tidy] Bring order to check registration. 2014-10-26 01:41:14 +00:00
HeaderGuardCheck.cpp [clang-tidy] Refactor: Move llvm clang-tidy checks to namespace clang::tidy::llvm 2015-03-02 12:39:18 +00:00
HeaderGuardCheck.h [clang-tidy] Cleanup namespace in utils folder. 2016-05-03 02:54:05 +00:00
IncludeOrderCheck.cpp Analyze include order on a per-file basis. 2016-08-12 18:38:26 +00:00
IncludeOrderCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00
LLVMTidyModule.cpp [clang-tidy] Refactor: Move llvm clang-tidy checks to namespace clang::tidy::llvm 2015-03-02 12:39:18 +00:00
TwineLocalCheck.cpp Fix clang-tidy patterns to adapt to newly added ExprWithCleanups nodes. 2016-06-21 20:11:20 +00:00
TwineLocalCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00