diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-08-05 19:33:11 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-08-05 19:33:11 +0000 |
commit | f13bcdc4a43ab91a8b8f4da52b65000d51c56e9d (patch) | |
tree | b2c6fcddf73396f5445826d5ba4ec6880db2b657 /llvm/lib/Support/StringExtras.cpp | |
parent | 05d55b396cb2a7751b64338125460249e659a45b (diff) | |
download | bcm5719-llvm-f13bcdc4a43ab91a8b8f4da52b65000d51c56e9d.tar.gz bcm5719-llvm-f13bcdc4a43ab91a8b8f4da52b65000d51c56e9d.zip |
Escape some escapes that confuse doxygen.
llvm-svn: 40850
Diffstat (limited to 'llvm/lib/Support/StringExtras.cpp')
-rw-r--r-- | llvm/lib/Support/StringExtras.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Support/StringExtras.cpp b/llvm/lib/Support/StringExtras.cpp index 2ce234970a9..8a276b56c21 100644 --- a/llvm/lib/Support/StringExtras.cpp +++ b/llvm/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) { |