Skip to content
Commit 8cc024ee authored by Alexander Kornienko's avatar Alexander Kornienko
Browse files

[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
parent b08f89ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment