[llvm-commits] [llvm] r40850 - /llvm/trunk/lib/Support/StringExtras.cpp
Reid Spencer
rspencer at reidspencer.com
Sun Aug 5 12:33:12 PDT 2007
Author: reid
Date: Sun Aug 5 14:33:11 2007
New Revision: 40850
URL: http://llvm.org/viewvc/llvm-project?rev=40850&view=rev
Log:
Escape some escapes that confuse doxygen.
Modified:
llvm/trunk/lib/Support/StringExtras.cpp
Modified: llvm/trunk/lib/Support/StringExtras.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/StringExtras.cpp?rev=40850&r1=40849&r2=40850&view=diff
==============================================================================
--- llvm/trunk/lib/Support/StringExtras.cpp (original)
+++ llvm/trunk/lib/Support/StringExtras.cpp Sun Aug 5 14:33:11 2007
@@ -59,8 +59,10 @@
/// 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) {
More information about the llvm-commits
mailing list