]> granicus.if.org Git - clang/commit
Harden Lexer::GetBeginningOfToken() against bogus source locations and
authorDouglas Gregor <dgregor@apple.com>
Mon, 31 Jan 2011 22:42:36 +0000 (22:42 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 31 Jan 2011 22:42:36 +0000 (22:42 +0000)
commit3de84241d90f3dd280126fdf2c4651667151c967
treee769d73be9f44876182fcd2418373133e440eb68
parentb6cfa24fe6c7a27e9bbaebc0cd28c857d11d6060
Harden Lexer::GetBeginningOfToken() against bogus source locations and
the disappearance/alteration of files.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124616 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/SourceManager.cpp
lib/Lex/Lexer.cpp