aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Pragma.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-11-30 20:04:39 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-11-30 20:04:39 +0000
commite74dc199e95cc523c8806e0de41d8814e8bc5c42 (patch)
treeb7447ee4fd61f448250b49b1aeceb1db24411741 /lib/Lex/Pragma.cpp
parentfafd101e6b557595ffbb5e9e9b47a3fc0385dc19 (diff)
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
Diffstat (limited to 'lib/Lex/Pragma.cpp')
-rw-r--r--lib/Lex/Pragma.cpp12
1 files 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