Reformat.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 2 Apr 2017 23:57:10 +0000 (23:57 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 2 Apr 2017 23:57:10 +0000 (23:57 +0000)
llvm-svn: 299343

llvm/include/llvm/ADT/SmallPtrSet.h
llvm/include/llvm/TableGen/StringToOffsetTable.h

index b98cf6c..e9f822e 100644 (file)
@@ -167,8 +167,8 @@ protected:
     const void *const *P = find_imp(Ptr);
     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++;
index e5b61ed..aaf2a35 100644 (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];