diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-03-30 22:09:17 +0000 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-03-30 22:09:17 +0000 |
commit | 4c2647bc2aa83af9add80c23419501886231d62d (patch) | |
tree | 30bba63b2c7fd05ea66af5fbc21c215b1654b4db /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | bfd7c38de785fcbd52adf4f93eff8ec346f8b1bc (diff) | |
download | bcm5719-llvm-4c2647bc2aa83af9add80c23419501886231d62d.tar.gz bcm5719-llvm-4c2647bc2aa83af9add80c23419501886231d62d.zip |
[clang-tidy] Reuse FileID in getLocation
One FileID per warning will increase and overflow NextLocalOffset
when input file is large with many warnings.
Reusing FileID avoids this problem.
Differential Revision: http://reviews.llvm.org/D31406
llvm-svn: 299119
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions