Skip to content

Commit d037217

Browse files
authored
[nfc] Add doc comment for canReturn in Analysis/CFG.h (#135862)
1 parent 7cb7b2d commit d037217

File tree

1 file changed

+4
-1
lines changed
  • llvm/include/llvm/Analysis

1 file changed

+4
-1
lines changed

llvm/include/llvm/Analysis/CFG.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,10 @@ bool containsIrreducibleCFG(RPOTraversalT &RPOTraversal, const LoopInfoT &LI) {
174174

175175
return false;
176176
}
177+
178+
/// Return true if there is at least a path through which F can return, false if
179+
/// there is no such path.
177180
bool canReturn(const Function &F);
178-
} // End llvm namespace
181+
} // namespace llvm
179182

180183
#endif

0 commit comments

Comments
 (0)