diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-04-06 20:19:26 +0000 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-04-06 20:19:26 +0000 |
commit | 90fccec5ee30d1b782656114caf606738cb2d061 (patch) | |
tree | b52ac9eb9bda95f9776d711c8bdbcc485a101ce1 /llvm/lib/CodeGen/CountingFunctionInserter.cpp | |
parent | 579540a8f7967fdbc8b0bf7cd214a6b12a98a362 (diff) | |
download | bcm5719-llvm-90fccec5ee30d1b782656114caf606738cb2d061.tar.gz bcm5719-llvm-90fccec5ee30d1b782656114caf606738cb2d061.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.
This requires changes in getColumnNumber, D31406, rL299681.
Differential Revision: http://reviews.llvm.org/D31406
llvm-svn: 299700
Diffstat (limited to 'llvm/lib/CodeGen/CountingFunctionInserter.cpp')
0 files changed, 0 insertions, 0 deletions