summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ErlangGC.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-07-29 18:37:25 +0000
committerGreg Clayton <gclayton@apple.com>2015-07-29 18:37:25 +0000
commit0d5b0a8a786e3d656d76a679be5ec8ca31125155 (patch)
tree080d7ea75218ea4b666e331de3e442c4ac6af8d1 /llvm/lib/CodeGen/ErlangGC.cpp
parent1e33bbecb94854ea1d648ad54c9a31a9d353f266 (diff)
downloadbcm5719-llvm-0d5b0a8a786e3d656d76a679be5ec8ca31125155.tar.gz
bcm5719-llvm-0d5b0a8a786e3d656d76a679be5ec8ca31125155.zip
Centralize where we update the source file contents in SourceManager::GetFile() in case APIs are called that don't update the source.
The following functions were the only functions that updates the source file: SourceManager::File::DisplaySourceLines() SourceManager::File::FindLinesMatchingRegex() But there we API calls that were using the SourceManager::File and asking it questions, like "is line 12 valid" and that might respond incorrectly if the source file had been updated. <rdar://problem/21269402> llvm-svn: 243551
Diffstat (limited to 'llvm/lib/CodeGen/ErlangGC.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud