]> granicus.if.org Git - clang/commit
In MeasureTokenLength, the FileLoc supplied to the lexer must point to the start...
authorSebastian Redl <sebastian.redl@getdesigned.at>
Thu, 30 Sep 2010 01:03:03 +0000 (01:03 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Thu, 30 Sep 2010 01:03:03 +0000 (01:03 +0000)
commitc3526d89ef9c31639ec8b25180cfb22354344241
tree9e7959e1fd8feab21f854cc3409bdfebe98a5db0
parent61238746aac026c5d644bdce4fc54b534b677c2f
In MeasureTokenLength, the FileLoc supplied to the lexer must point to the start of the buffer, or we risk overflow.

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