diff options
author | Alexander Kornienko <alexfh@google.com> | 2015-08-14 12:33:25 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2015-08-14 12:33:25 +0000 |
commit | 8cc024ee370ee98ac5d900146ffd7da495a0272e (patch) | |
tree | 8517ecc08a3340b3e6edbc02c841ca53be80e600 /clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp | |
parent | b08f89ffc17c21ec495ad075cc79bf6624f97fa8 (diff) | |
download | bcm5719-llvm-8cc024ee370ee98ac5d900146ffd7da495a0272e.tar.gz bcm5719-llvm-8cc024ee370ee98ac5d900146ffd7da495a0272e.zip |
[clang-tidy] Fix IncludeInserter/IncludeSorter bug.
If there weren't any includes in the file, or all of them had 'IncludeKind'
greater than the desired one, then 'CreateIncludeInsertion' didn't work.
http://reviews.llvm.org/D12017
Patch by Angel Garcia!
llvm-svn: 245042
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp')
0 files changed, 0 insertions, 0 deletions