From: James Dennett Date: Sun, 17 Jun 2012 04:46:54 +0000 (+0000) Subject: Documentation cleanup: escaping #define in Doxygen comments X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e6f1a23fe26748a4eafc5c64ff6c319f6d932f3;p=clang Documentation cleanup: escaping #define in Doxygen comments git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158629 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Lex/Lexer.h b/include/clang/Lex/Lexer.h index f5861beb2f..ca233de71c 100644 --- a/include/clang/Lex/Lexer.h +++ b/include/clang/Lex/Lexer.h @@ -341,7 +341,7 @@ public: /// /// -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 @@ public: /// /// -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.