summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CountingFunctionInserter.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-04-06 20:19:26 +0000
committerChih-Hung Hsieh <chh@google.com>2017-04-06 20:19:26 +0000
commit90fccec5ee30d1b782656114caf606738cb2d061 (patch)
treeb52ac9eb9bda95f9776d711c8bdbcc485a101ce1 /llvm/lib/CodeGen/CountingFunctionInserter.cpp
parent579540a8f7967fdbc8b0bf7cd214a6b12a98a362 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud