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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment