From e74dc199e95cc523c8806e0de41d8814e8bc5c42 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Fri, 30 Nov 2012 20:04:39 +0000 Subject: [PATCH] Comments: no need to escape any characters in \code ... \endcode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169030 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Lex/Pragma.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Lex/Pragma.cpp b/lib/Lex/Pragma.cpp index c1e90cc21e..3ea3645e16 100644 --- a/lib/Lex/Pragma.cpp +++ b/lib/Lex/Pragma.cpp @@ -470,7 +470,7 @@ void Preprocessor::HandlePragmaDependency(Token &DependencyTok) { /// /// The syntax is: /// \code -/// \#pragma comment(linker, "foo") +/// #pragma comment(linker, "foo") /// \endcode /// 'linker' is one of five identifiers: compiler, exestr, lib, linker, user. /// "foo" is a string, which is fully macro expanded, and permits string @@ -532,11 +532,11 @@ void Preprocessor::HandlePragmaComment(Token &Tok) { /// HandlePragmaMessage - Handle the microsoft and gcc \#pragma message /// extension. The syntax is: /// \code -/// \#pragma message(string) +/// #pragma message(string) /// \endcode /// OR, in GCC mode: /// \code -/// \#pragma message string +/// #pragma message string /// \endcode /// string is a string, which is fully macro expanded, and permits string /// concatenation, embedded escape characters, etc... See MSDN for more details. @@ -640,7 +640,7 @@ IdentifierInfo *Preprocessor::ParsePragmaPushOrPopMacro(Token &Tok) { /// /// The syntax is: /// \code -/// \#pragma push_macro("macro") +/// #pragma push_macro("macro") /// \endcode void Preprocessor::HandlePragmaPushMacro(Token &PushMacroTok) { // Parse the pragma directive and get the macro IdentifierInfo*. @@ -1207,8 +1207,8 @@ struct PragmaARCCFCodeAuditedHandler : public PragmaHandler { /// /// The syntax is /// \code - /// \#pragma region [optional name] - /// \#pragma endregion [optional comment] + /// #pragma region [optional name] + /// #pragma endregion [optional comment] /// \endcode /// /// \note This is -- 2.40.0