llvm-project/clang-tools-extra/test/clang-apply-replacements
Eric Liu 25b689ee11 Deduplicate replacements from diagnostics.
Summary:
After r329813, clang-apply-replacements stopped deduplicating identical
replacements; however, tools like clang-tidy relies on the deduplication of
identical dignostics replacements from different TUs to apply fixes correctly.

This change partially roll back the behavior by deduplicating changes from
diagnostics. Ideally, we should deduplicate on diagnostics level, but we need to
figure out an effecient way.

Reviewers: bkramer

Subscribers: cfe-commits

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

llvm-svn: 342951
2018-09-25 08:24:07 +00:00
..
Inputs Deduplicate replacements from diagnostics. 2018-09-25 08:24:07 +00:00
ClangRenameClassReplacements.cpp
basic.cpp
conflict.cpp
crlf.cpp Avoid assumption that lit tests are writable. NFC 2018-01-08 15:49:40 +00:00
format.cpp
identical.cpp Deduplicate replacements from diagnostics. 2018-09-25 08:24:07 +00:00
invalid-files.cpp [clang-tidy] Fixup clang-apply-replacements/invalid-files test 2017-07-25 14:39:08 +00:00
order-dependent.cpp [clang-apply-replacements] Convert tooling::Replacements to tooling::AtomicChange for conflict resolving of changes, code cleanup, and code formatting. 2018-04-11 14:39:17 +00:00