diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-09-17 11:48:34 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-09-17 11:48:34 +0000 |
commit | ae8fc5223780204dd8dcd17066b791996402d75f (patch) | |
tree | cb12f9d1f3e960f4d3412cb43f6cac3c65c1b041 /clang/lib/Basic/Targets.cpp | |
parent | 5b92b4971a49afc5ab1e405d834bbeef29eabd72 (diff) | |
download | bcm5719-llvm-ae8fc5223780204dd8dcd17066b791996402d75f.tar.gz bcm5719-llvm-ae8fc5223780204dd8dcd17066b791996402d75f.zip |
[clang-tidy] Don't emit the same fixit multiple times.
If we had many header files we would attach the fix-it for all files to all
warnings, oops. This is harmless 99.9% of the time but can confuse the rewriter
in some edge cases. Sadly I failed to create a small test case for this.
While there move fix-its instead of copying.
llvm-svn: 217951
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions