1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Escape some escapes that confuse doxygen.

llvm-svn: 40850
This commit is contained in:
Reid Spencer 2007-08-05 19:33:11 +00:00
parent 5963adc510
commit 0de4350acf

View File

@ -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) {