[cfe-commits] r57036 - /cfe/trunk/Driver/RewriteBlocks.cpp

Steve Naroff snaroff at apple.com
Fri Oct 3 16:00:51 PDT 2008


Author: snaroff
Date: Fri Oct  3 18:00:50 2008
New Revision: 57036

URL: http://llvm.org/viewvc/llvm-project?rev=57036&view=rev
Log:
Remove an old/vacuous if clause.

Modified:
    cfe/trunk/Driver/RewriteBlocks.cpp

Modified: cfe/trunk/Driver/RewriteBlocks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/RewriteBlocks.cpp?rev=57036&r1=57035&r2=57036&view=diff

==============================================================================
--- cfe/trunk/Driver/RewriteBlocks.cpp (original)
+++ cfe/trunk/Driver/RewriteBlocks.cpp Fri Oct  3 18:00:50 2008
@@ -472,12 +472,6 @@
         }
       }
     }
-    if (haveByRefDecls) {
-      // Remove |...|.
-      //const char *firstBarPtr = strchr(BodyStartBuf, '|');
-      //const char *secondBarPtr = strchr(firstBarPtr+1, '|');
-      //BodyBuf.replace(firstBarPtr-BodyStartBuf, secondBarPtr-firstBarPtr+1, "");
-    } 
     S += "  ";
     S += BodyBuf;
   }





More information about the cfe-commits mailing list