Patch: PostDominators.h - const findNearestCommonDominator()
Alexander Jesner
alexander at jesner.eu
Mon Mar 11 13:14:38 PDT 2013
Hi!
I added the following const version of findNearestCommonDominator(..) to
Analysis/PostDominators.h, since the implementation for DominatorTrees also
features a const version.
It would be nice if someone could have a look and include this in future
versions.
76a77,80
> inline const BasicBlock *findNearestCommonDominator(const BasicBlock
*A, const BasicBlock *B) {
> return DT->findNearestCommonDominator(A, B);
> }
>
Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130311/fb2b3212/attachment.html>
More information about the llvm-commits
mailing list