commit | b18840ddd6aa472bbf78ab9de59159eb128fb6a9 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Tue May 07 04:29:22 2013 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Tue May 07 04:29:22 2013 +0000 |
tree | c0ca7cda6fc4d20c19255bb00bf2d0c99f8ca95b | |
parent | a8942d7686dde6d221a176c502ce857bdc409dab [diff] |
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