diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-06-06 18:43:20 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-06-06 18:43:20 +0000 |
commit | 987bcf9462a4858f8af5c080428347455a576848 (patch) | |
tree | 0ef16c7aa963d27819ccf4a9ae8986251327ff08 /clang/lib/Lex/Lexer.cpp | |
parent | 628a39faa3d71dce76842ef031ae4244fde18bb4 (diff) | |
download | bcm5719-llvm-987bcf9462a4858f8af5c080428347455a576848.tar.gz bcm5719-llvm-987bcf9462a4858f8af5c080428347455a576848.zip |
Escape \n and \r in doxycomment.
llvm-svn: 158091
Diffstat (limited to 'clang/lib/Lex/Lexer.cpp')
-rw-r--r-- | clang/lib/Lex/Lexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp index c6c39144af0..a43543ad9a4 100644 --- a/clang/lib/Lex/Lexer.cpp +++ b/clang/lib/Lex/Lexer.cpp @@ -2043,8 +2043,8 @@ bool Lexer::SaveBCPLComment(Token &Result, const char *CurPtr) { } /// isBlockCommentEndOfEscapedNewLine - Return true if the specified newline -/// character (either \n or \r) is part of an escaped newline sequence. Issue a -/// diagnostic if so. We know that the newline is inside of a block comment. +/// character (either \\n or \\r) is part of an escaped newline sequence. Issue +/// a diagnostic if so. We know that the newline is inside of a block comment. static bool isEndOfBlockCommentWithEscapedNewLine(const char *CurPtr, Lexer *L) { assert(CurPtr[0] == '\n' || CurPtr[0] == '\r'); |