mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-01 00:02:16 +00:00
Escape some escapes that confuse doxygen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40850 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
daa10a46b2
commit
c69b0dd19d
@ -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