From: James Dennett Date: Tue, 19 Jun 2012 21:04:25 +0000 (+0000) Subject: Documentation cleanup: add \verbatim markup for grammar productions X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1263cfb87151771fd74a1d2b676ae2ba172b72c;p=clang 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 --- 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,