r202909 - Remove some unnecessary qualification

David Blaikie dblaikie at gmail.com
Tue Mar 4 15:39:19 PST 2014


Author: dblaikie
Date: Tue Mar  4 17:39:18 2014
New Revision: 202909

URL: http://llvm.org/viewvc/llvm-project?rev=202909&view=rev
Log:
Remove some unnecessary qualification

Modified:
    cfe/trunk/lib/Analysis/CFG.cpp

Modified: cfe/trunk/lib/Analysis/CFG.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CFG.cpp?rev=202909&r1=202908&r2=202909&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CFG.cpp (original)
+++ cfe/trunk/lib/Analysis/CFG.cpp Tue Mar  4 17:39:18 2014
@@ -3519,10 +3519,10 @@ CFGBlock::AdjacentBlock::AdjacentBlock(C
 void CFGBlock::addSuccessor(AdjacentBlock Succ,
                             BumpVectorContext &C) {
   if (CFGBlock *B = Succ.getReachableBlock())
-    B->Preds.push_back(CFGBlock::AdjacentBlock(this, Succ.isReachable()), C);
+    B->Preds.push_back(AdjacentBlock(this, Succ.isReachable()), C);
 
   if (CFGBlock *UnreachableB = Succ.getPossiblyUnreachableBlock())
-    UnreachableB->Preds.push_back(CFGBlock::AdjacentBlock(this, false), C);
+    UnreachableB->Preds.push_back(AdjacentBlock(this, false), C);
 
   Succs.push_back(Succ, C);
 }





More information about the cfe-commits mailing list