summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-02-27 02:42:25 +0000
committerDouglas Gregor <dgregor@apple.com>2010-02-27 02:42:25 +0000
commitb8b9f28e24370d2866bd401a308ebe4c93c02178 (patch)
tree97278259a710061a5d338db6aee48a834c76d689 /clang/lib/CodeGen/CodeGenFunction.cpp
parentaf11dcf348db257e60c633e6bd2aba9df7e63653 (diff)
downloadbcm5719-llvm-b8b9f28e24370d2866bd401a308ebe4c93c02178.tar.gz
bcm5719-llvm-b8b9f28e24370d2866bd401a308ebe4c93c02178.zip
Robustify SourceManager::getLocation(), so that it returns an
end-of-line source location when given a column number beyond the length of the line, or an end-of-file source location when given a line number beyond the length of the file. Previously, we would return an invalid location. llvm-svn: 97299
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud