From: Reid Spencer Date: Sun, 5 Aug 2007 19:33:11 +0000 (+0000) Subject: Escape some escapes that confuse doxygen. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c69b0dd19d72fffe1e7abbaa66d6f801c7b2c32f;p=oota-llvm.git Escape some escapes that confuse doxygen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40850 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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) {