diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-11-30 20:04:39 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-11-30 20:04:39 +0000 |
commit | 9ebd1611b6ada0e3107815760e145fc5c0386c9e (patch) | |
tree | ecd83ef6b20ff4dc2b6a07d503a65cd47a877b79 /clang/lib | |
parent | e993dac233584cdae6275ebee19f755412b3baa1 (diff) | |
download | bcm5719-llvm-9ebd1611b6ada0e3107815760e145fc5c0386c9e.tar.gz bcm5719-llvm-9ebd1611b6ada0e3107815760e145fc5c0386c9e.zip |
Comments: no need to escape any characters in \code ... \endcode.
llvm-svn: 169030
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Lex/Pragma.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/Lex/Pragma.cpp b/clang/lib/Lex/Pragma.cpp index c1e90cc21eb..3ea3645e166 100644 --- a/clang/lib/Lex/Pragma.cpp +++ b/clang/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 |