diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h index 855180d6953..3d674e7d818 100644 --- a/include/llvm/Analysis/Dominators.h +++ b/include/llvm/Analysis/Dominators.h @@ -443,23 +443,29 @@ public: } protected: - template friend void Compress(DominatorTreeBase& DT, - typename GraphT::NodeType* VIn); - template friend typename GraphT::NodeType* Eval( - DominatorTreeBase& DT, - typename GraphT::NodeType* V); - template friend void Link(DominatorTreeBase& DT, - typename GraphT::NodeType* V, - typename GraphT::NodeType* W, - typename DominatorTreeBase::InfoRec &WInfo); + template + friend void Compress(DominatorTreeBase& DT, + typename GraphT::NodeType* VIn); + + template + friend typename GraphT::NodeType* Eval( + DominatorTreeBase& DT, + typename GraphT::NodeType* V); + + template + friend void Link(DominatorTreeBase& DT, + typename GraphT::NodeType* V, + typename GraphT::NodeType* W, + typename DominatorTreeBase::InfoRec &WInfo); - template friend unsigned DFSPass( - DominatorTreeBase& DT, - typename GraphT::NodeType* V, - unsigned N); + template + friend unsigned DFSPass(DominatorTreeBase& DT, + typename GraphT::NodeType* V, + unsigned N); - template friend void Calculate(DominatorTreeBase& DT, - Function& F); + template + friend void Calculate(DominatorTreeBase& DT, + Function& F); /// updateDFSNumbers - Assign In and Out numbers to the nodes while walking /// dominator tree in dfs order.