summaryrefslogtreecommitdiff
path: root/lib/Support/StringExtras.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-08-05 19:33:11 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-08-05 19:33:11 +0000
commitc69b0dd19d72fffe1e7abbaa66d6f801c7b2c32f (patch)
treeab5031b6b273274dad4abeeaed1dafbe9b3a178f /lib/Support/StringExtras.cpp
parentdaa10a46b2e94e95b3f479cc24ecbbd33fe94c87 (diff)
downloadllvm-c69b0dd19d72fffe1e7abbaa66d6f801c7b2c32f.tar.gz
llvm-c69b0dd19d72fffe1e7abbaa66d6f801c7b2c32f.tar.bz2
llvm-c69b0dd19d72fffe1e7abbaa66d6f801c7b2c32f.tar.xz
Escape some escapes that confuse doxygen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40850 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/StringExtras.cpp')
-rw-r--r--lib/Support/StringExtras.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Support/StringExtras.cpp b/lib/Support/StringExtras.cpp
index 2ce234970a..8a276b56c2 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) {