Details
Diff Detail
Event Timeline
llvm/include/llvm/Analysis/DomPrinter.h | ||
---|---|---|
1 | This is not the name of the file | |
36–39 | [style] Don’t use else after a return | |
llvm/include/llvm/Analysis/PostDominators.h | ||
123–126 | [style] Don’t use else after a return Can DT.getRootNode() actually return nullptr? AFAIK it always creates a virtual root node. | |
llvm/include/llvm/IR/Dominators.h | ||
267 | Consider defining the traits of the pointer type GraphTraits<DominatorTree*> for consistency with other GraphTraits, including GraphTraits<DomTreeNode *>. that it derives from. Users of GraphTraits may assume it is a pointer. |
llvm/include/llvm/Analysis/PostDominators.h | ||
---|---|---|
123–126 | If it's constructed through the default constructor, the RootNode will be nullptr, and the default constructor is only used by the wrapper passes. It seems fine to assume it's not null. I'll remove the condition. |
This is not the name of the file