[cfe-commits] r158629 - /cfe/trunk/include/clang/Lex/Lexer.h
James Dennett
jdennett at google.com
Sat Jun 16 21:46:54 PDT 2012
Author: jdennett
Date: Sat Jun 16 23:46:54 2012
New Revision: 158629
URL: http://llvm.org/viewvc/llvm-project?rev=158629&view=rev
Log:
Documentation cleanup: escaping #define in Doxygen comments
Modified:
cfe/trunk/include/clang/Lex/Lexer.h
Modified: cfe/trunk/include/clang/Lex/Lexer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Lexer.h?rev=158629&r1=158628&r2=158629&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Lexer.h (original)
+++ cfe/trunk/include/clang/Lex/Lexer.h Sat Jun 16 23:46:54 2012
@@ -341,7 +341,7 @@
///
/// -begin or end range lies at the start or end of a macro expansion, in
/// which case the location will be set to the expansion point, e.g:
- /// #define M 1 2
+ /// \#define M 1 2
/// a M
/// If you have a range [a, 2] (where 2 came from the macro), the function
/// will return a range for "a M"
@@ -350,8 +350,8 @@
///
/// -The macro is a function macro and the range can be mapped to the macro
/// arguments, e.g:
- /// #define M 1 2
- /// #define FM(x) x
+ /// \#define M 1 2
+ /// \#define FM(x) x
/// FM(a b M)
/// if you have range [b, 2], the function will return the file range "b M"
/// inside the macro arguments.
More information about the cfe-commits
mailing list