1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Reformat.

llvm-svn: 299343
This commit is contained in:
NAKAMURA Takumi 2017-04-02 23:57:10 +00:00
parent 8fdfc69d58
commit 7eceb5c8c8
2 changed files with 6 additions and 6 deletions

View File

@ -168,7 +168,7 @@ protected:
if (P == EndPointer())
return false;
const void ** Loc = const_cast<const void **>(P);
const void **Loc = const_cast<const void **>(P);
assert(*Loc == Ptr && "broken find!");
*Loc = getTombstoneMarker();
NumTombstones++;

View File

@ -60,10 +60,10 @@ public:
if (AggregateString[i] != '\\')
continue;
assert(i+1 < AggregateString.size() && "Incomplete escape sequence!");
if (isdigit(AggregateString[i+1])) {
assert(isdigit(AggregateString[i+2]) &&
isdigit(AggregateString[i+3]) &&
assert(i + 1 < AggregateString.size() && "Incomplete escape sequence!");
if (isdigit(AggregateString[i + 1])) {
assert(isdigit(AggregateString[i + 2]) &&
isdigit(AggregateString[i + 3]) &&
"Expected 3 digit octal escape!");
O << AggregateString[++i];
O << AggregateString[++i];