summaryrefslogtreecommitdiff
path: root/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-05-07 04:29:22 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-05-07 04:29:22 +0000
commitb18840ddd6aa472bbf78ab9de59159eb128fb6a9 (patch)
treec0ca7cda6fc4d20c19255bb00bf2d0c99f8ca95b /lib/CodeGen/ModuleBuilder.cpp
parenta8942d7686dde6d221a176c502ce857bdc409dab (diff)
downloadclang-b18840ddd6aa472bbf78ab9de59159eb128fb6a9.tar.gz
clang-b18840ddd6aa472bbf78ab9de59159eb128fb6a9.tar.bz2
clang-b18840ddd6aa472bbf78ab9de59159eb128fb6a9.tar.xz
Have SourceManager::getLocForEndOfFile() point at the "EOF" location of the FileID.
This fixes a crash due to SourceManager::getLocForEndOfFile() returning an off-by-one location when the the FileID is for an empty file. rdar://13803893 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions