]> granicus.if.org Git - clang/commit
Fix getLocForEndOfToken to not double-count spurious internal characters
authorJohn McCall <rjmccall@apple.com>
Wed, 6 Apr 2011 01:50:22 +0000 (01:50 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 6 Apr 2011 01:50:22 +0000 (01:50 +0000)
commit77ebb3829f2abb9be2d40927b793b72347626aad
tree1413e92648044cc135cd568ef56904280c91b828
parent97edcb639347a4770e59af66d20abcd2b37bb4e5
Fix getLocForEndOfToken to not double-count spurious internal characters
within a token, like trigraphs and escaped newlines.
Patch by Marcin Kowalczyk!

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