diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-02-27 02:42:25 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-02-27 02:42:25 +0000 |
| commit | b8b9f28e24370d2866bd401a308ebe4c93c02178 (patch) | |
| tree | 97278259a710061a5d338db6aee48a834c76d689 /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | af11dcf348db257e60c633e6bd2aba9df7e63653 (diff) | |
| download | bcm5719-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

