diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-05-07 04:29:22 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-05-07 04:29:22 +0000 |
| commit | b18840ddd6aa472bbf78ab9de59159eb128fb6a9 (patch) | |
| tree | c0ca7cda6fc4d20c19255bb00bf2d0c99f8ca95b /lib/CodeGen/CGExpr.cpp | |
| parent | a8942d7686dde6d221a176c502ce857bdc409dab (diff) | |
| download | clang-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/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
