From c69b0dd19d72fffe1e7abbaa66d6f801c7b2c32f Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 5 Aug 2007 19:33:11 +0000 Subject: [PATCH] Escape some escapes that confuse doxygen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40850 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/StringExtras.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Support/StringExtras.cpp b/lib/Support/StringExtras.cpp index 2ce234970a9..8a276b56c21 100644 --- a/lib/Support/StringExtras.cpp +++ b/lib/Support/StringExtras.cpp @@ -59,8 +59,10 @@ void llvm::SplitString(const std::string &Source, /// UnescapeString - Modify the argument string, turning two character sequences -/// like '\\' 'n' into '\n'. This handles: \e \a \b \f \n \r \t \v \' \\ and +/// @verbatim +/// like '\\' 'n' into '\n'. This handles: \e \a \b \f \n \r \t \v \' \ and /// \num (where num is a 1-3 byte octal value). +/// @endverbatim void llvm::UnescapeString(std::string &Str) { for (unsigned i = 0; i != Str.size(); ++i) { if (Str[i] == '\\' && i != Str.size()-1) { -- 2.34.1