diff options
author | James Dennett <jdennett@google.com> | 2012-06-15 21:36:54 +0000 |
---|---|---|
committer | James Dennett <jdennett@google.com> | 2012-06-15 21:36:54 +0000 |
commit | ff3c995624e0bacad8f94c6eabf829fbd13d21e0 (patch) | |
tree | 35e14d3a852766f0388481fb67372495fb629ae7 /clang/lib/Lex/Lexer.cpp | |
parent | e0763c7472562c562d09a8c33164aa8ecb9096e7 (diff) | |
download | llvm-ff3c995624e0bacad8f94c6eabf829fbd13d21e0.zip llvm-ff3c995624e0bacad8f94c6eabf829fbd13d21e0.tar.gz llvm-ff3c995624e0bacad8f94c6eabf829fbd13d21e0.tar.bz2 |
Documentation cleanup: escape backslashes in Doxygen comments.
llvm-svn: 158552
Diffstat (limited to 'clang/lib/Lex/Lexer.cpp')
-rw-r--r-- | clang/lib/Lex/Lexer.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp index 78d58d3..69d21f8 100644 --- a/clang/lib/Lex/Lexer.cpp +++ b/clang/lib/Lex/Lexer.cpp @@ -1091,20 +1091,21 @@ static inline bool isIdentifierBody(unsigned char c) { } /// isHorizontalWhitespace - Return true if this character is horizontal -/// whitespace: ' ', '\t', '\f', '\v'. Note that this returns false for '\0'. +/// whitespace: ' ', '\\t', '\\f', '\\v'. Note that this returns false for +/// '\\0'. static inline bool isHorizontalWhitespace(unsigned char c) { return (CharInfo[c] & CHAR_HORZ_WS) ? true : false; } /// isVerticalWhitespace - Return true if this character is vertical -/// whitespace: '\n', '\r'. Note that this returns false for '\0'. +/// whitespace: '\\n', '\\r'. Note that this returns false for '\\0'. static inline bool isVerticalWhitespace(unsigned char c) { return (CharInfo[c] & CHAR_VERT_WS) ? true : false; } /// isWhitespace - Return true if this character is horizontal or vertical -/// whitespace: ' ', '\t', '\f', '\v', '\n', '\r'. Note that this returns false -/// for '\0'. +/// whitespace: ' ', '\\t', '\\f', '\\v', '\\n', '\\r'. Note that this returns +/// false for '\\0'. static inline bool isWhitespace(unsigned char c) { return (CharInfo[c] & (CHAR_HORZ_WS|CHAR_VERT_WS)) ? true : false; } |