forked from OSchip/llvm-project
parent
628a39faa3
commit
987bcf9462
|
@ -2043,8 +2043,8 @@ bool Lexer::SaveBCPLComment(Token &Result, const char *CurPtr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// isBlockCommentEndOfEscapedNewLine - Return true if the specified newline
|
/// isBlockCommentEndOfEscapedNewLine - Return true if the specified newline
|
||||||
/// character (either \n or \r) is part of an escaped newline sequence. Issue a
|
/// character (either \\n or \\r) is part of an escaped newline sequence. Issue
|
||||||
/// diagnostic if so. We know that the newline is inside of a block comment.
|
/// a diagnostic if so. We know that the newline is inside of a block comment.
|
||||||
static bool isEndOfBlockCommentWithEscapedNewLine(const char *CurPtr,
|
static bool isEndOfBlockCommentWithEscapedNewLine(const char *CurPtr,
|
||||||
Lexer *L) {
|
Lexer *L) {
|
||||||
assert(CurPtr[0] == '\n' || CurPtr[0] == '\r');
|
assert(CurPtr[0] == '\n' || CurPtr[0] == '\r');
|
||||||
|
|
Loading…
Reference in New Issue