llvm-project/clang-tools-extra/unittests/clang-tidy
Eric Liu 7e5445267f Fix clang-tidy crash when a single fix is applied on multiple files.
Summary:
tooling::Replacements only holds replacements for a single file, so
this patch makes Fix a map from file paths to tooling::Replacements so that it
can be applied on multiple files.

Reviewers: hokein, alexfh

Subscribers: Prazek, cfe-commits

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

llvm-svn: 278101
2016-08-09 07:54:49 +00:00
..
CMakeLists.txt Create interfaces and tests for the overlapping replacements fix in clang-tidy. 2015-10-06 13:52:51 +00:00
ClangTidyDiagnosticConsumerTest.cpp Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
ClangTidyOptionsTest.cpp clang-tidy: Update test as underlying problem apparently was fixed. 2015-03-02 18:07:00 +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 [clang-tidy] Cleanup namespace in utils folder. 2016-05-03 02:54:05 +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
OverlappingReplacementsTest.cpp Fix overlapping replacements in clang-tidy. 2015-10-16 11:43:49 +00:00
ReadabilityModuleTest.cpp Create interfaces and tests for the overlapping replacements fix in clang-tidy. 2015-10-06 13:52:51 +00:00