diff --git a/llvm/include/llvm/IR/CFGDiff.h b/llvm/include/llvm/IR/CFGDiff.h index 0b128ffd86f685..f40434cc5d4eb9 100644 --- a/llvm/include/llvm/IR/CFGDiff.h +++ b/llvm/include/llvm/IR/CFGDiff.h @@ -17,7 +17,6 @@ #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/iterator.h" #include "llvm/ADT/iterator_range.h" -#include "llvm/IR/BasicBlock.h" #include "llvm/IR/CFG.h" #include "llvm/Support/CFGUpdate.h" #include "llvm/Support/type_traits.h" @@ -83,7 +82,7 @@ template class GraphDiff { UpdateMapType SuccDelete; UpdateMapType PredInsert; UpdateMapType PredDelete; - // Using a singleton empty vector for all BasicBlock requests with no + // Using a singleton empty vector for all node requests with no // children. SmallVector Empty; @@ -160,7 +159,7 @@ template *; using RawNodeRef = typename GT::NodeRef; - using NodeRef = std::pair; + using NodeRef = std::pair; using ExistingChildIterator = WrappedPairNodeDataIterator