summaryrefslogtreecommitdiff
path: root/lib/Lex/LiteralSupport.cpp
diff options
context:
space:
mode:
authorJames Dennett <jdennett@google.com>2012-06-19 21:04:25 +0000
committerJames Dennett <jdennett@google.com>2012-06-19 21:04:25 +0000
commita1263cfb87151771fd74a1d2b676ae2ba172b72c (patch)
treefec854accdf2fc1bae6b441163d6bcfa74a48480 /lib/Lex/LiteralSupport.cpp
parent38b0603314e2093fa5bc7d6b4d629ce31f8bd054 (diff)
downloadclang-a1263cfb87151771fd74a1d2b676ae2ba172b72c.tar.gz
clang-a1263cfb87151771fd74a1d2b676ae2ba172b72c.tar.bz2
clang-a1263cfb87151771fd74a1d2b676ae2ba172b72c.tar.xz
Documentation cleanup: add \verbatim markup for grammar productions
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/LiteralSupport.cpp')
-rw-r--r--lib/Lex/LiteralSupport.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Lex/LiteralSupport.cpp b/lib/Lex/LiteralSupport.cpp
index ef2cf0e153..b2290b3187 100644
--- a/lib/Lex/LiteralSupport.cpp
+++ b/lib/Lex/LiteralSupport.cpp
@@ -1006,7 +1006,7 @@ CharLiteralParser::CharLiteralParser(const char *begin, const char *end,
Value = (signed char)Value;
}
-
+/// \verbatim
/// string-literal: [C++0x lex.string]
/// encoding-prefix " [s-char-sequence] "
/// encoding-prefix R raw-string
@@ -1058,6 +1058,7 @@ CharLiteralParser::CharLiteralParser(const char *begin, const char *end,
/// \U hex-quad hex-quad
/// hex-quad:
/// hex-digit hex-digit hex-digit hex-digit
+/// \endverbatim
///
StringLiteralParser::
StringLiteralParser(const Token *StringToks, unsigned NumStringToks,