commit | cb7b1e17b63967317ab5cc55682168cf0380519a | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Nov 12 07:15:47 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Nov 12 07:15:47 2010 +0000 |
tree | ae64d4fe18e56974c3aae2c99e86aa954410ccdb | |
parent | 8f0889ce457db51d3af1eb1245bceee272d4dc7d [diff] |
Make sure to always check the result of SourceManager::getPresumedLoc(), so that we don't try to make use of an invalid presumed location. Doing so can cause crashes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118885 91177308-0d34-0410-b5e6-96231b3b80d8