[include-fixer] Don't eat one token too many when replacing a block of includes.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 29 Nov 2016 15:15:26 +0000 (15:15 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 29 Nov 2016 15:15:26 +0000 (15:15 +0000)
commitb2a346d5e40e9cbd344c6389a27709205a560159
tree6711116bcf72df84fb5cd5e2d90b7c1788cb889a
parent11c5e079250572de22ae8311c4f0dfa791fa10ce
[include-fixer] Don't eat one token too many when replacing a block of includes.

SourceRanges are inclusive token ranges, this was trying to form an
exclusive char range.

llvm-svn: 288145
clang-tools-extra/include-fixer/IncludeFixer.cpp
clang-tools-extra/test/include-fixer/yamldb_plugin.cpp