llvm-project/clang-tools-extra/unittests/clang-tidy
Alexander Kornienko e3d91a5c4b Correctly classify main file includes if there is a prefix added
Summary:
Prevents misclassifying includes based on the command-line filename (e.g. if a project is in a subdirectory).

This is slightly more robust than the additional duplicate detection, however the current classification scheme is still kind of brittle for a lot of code.

Reviewers: hokein, alexfh

Subscribers: cfe-commits, #clang-tools-extra

Patch by Julian Bangert!

Differential Revision: https://reviews.llvm.org/D26015

llvm-svn: 291767
2017-01-12 15:31:50 +00:00
..
CMakeLists.txt Recommit "[ClangTidy] Add UsingInserter and NamespaceAliaser" 2016-10-17 08:33:59 +00:00
ClangTidyDiagnosticConsumerTest.cpp modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
ClangTidyOptionsTest.cpp [clang-tidy] Merge ExtraArgs(Before) instead of overriding them. 2016-08-23 14:48:29 +00:00
ClangTidyTest.h Fix clang-tidy crash when a single fix is applied on multiple files. 2016-08-09 07:54:49 +00:00
GoogleModuleTest.cpp Fix false positive on anonymous namespaces in headers. 2015-03-24 15:21:45 +00:00
IncludeInserterTest.cpp Correctly classify main file includes if there is a prefix added 2017-01-12 15:31:50 +00:00
LLVMModuleTest.cpp [clang-tidy] Refactor: Move llvm clang-tidy checks to namespace clang::tidy::llvm 2015-03-02 12:39:18 +00:00
MiscModuleTest.cpp [clang-tidy] misc-argument-comment non-strict mode 2016-08-04 14:54:54 +00:00
NamespaceAliaserTest.cpp modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
OverlappingReplacementsTest.cpp Fix overlapping replacements in clang-tidy. 2015-10-16 11:43:49 +00:00
ReadabilityModuleTest.cpp [clang-tidy] Fix readability-braces-around-statements false positive 2016-10-14 08:10:08 +00:00
UsingInserterTest.cpp modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00