summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex
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
commit99c193b3c0ed3233d92e5ab690bc19d81eb546cd (patch)
tree94253458e2d833d578db7b97bb2fc2959d3b58fa /clang/lib/Lex
parente37835ef18be0c64fa6d5c25e7503df192beb6a8 (diff)
downloadbcm5719-llvm-99c193b3c0ed3233d92e5ab690bc19d81eb546cd.tar.gz
bcm5719-llvm-99c193b3c0ed3233d92e5ab690bc19d81eb546cd.zip
Documentation cleanup: add \verbatim markup for grammar productions
llvm-svn: 158740
Diffstat (limited to 'clang/lib/Lex')
-rw-r--r--clang/lib/Lex/LiteralSupport.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Lex/LiteralSupport.cpp b/clang/lib/Lex/LiteralSupport.cpp
index ef2cf0e1537..b2290b3187c 100644
--- a/clang/lib/Lex/LiteralSupport.cpp
+++ b/clang/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,
OpenPOWER on IntegriCloud