]> granicus.if.org Git - clang/commit
Simplify raw mode lexing by treating an unterminate /**/ comment the
authorChris Lattner <sabre@nondot.org>
Sun, 12 Oct 2008 01:31:51 +0000 (01:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 12 Oct 2008 01:31:51 +0000 (01:31 +0000)
commit0af574270d3be2b0e73a3379dfaa633746f8fc6f
tree0def8a7acb239a0455748576f9eb7985e3f17116
parent8527b71b1944b155a2bd60ec364d700299bc3ff7
Simplify raw mode lexing by treating an unterminate /**/ comment the
same we we do an unterminated string or character literal.  This makes
it so we can guarantee that the lexer never calls into the
preprocessor (which would be suicide for a raw lexer).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57395 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticKinds.def
include/clang/Lex/Lexer.h
lib/Lex/Lexer.cpp
lib/Lex/TokenLexer.cpp