hanchenye-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
format.cpp
identical.cpp Deduplicate replacements from diagnostics. 2018-09-25 08:24:07 +00:00
invalid-files.cpp
order-dependent.cpp