mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Escape some escapes that confuse doxygen.
llvm-svn: 40850
This commit is contained in:
parent
5963adc510
commit
0de4350acf
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user