Change-Id: I0f756786e14ef6228d0275e69d94eb8d7460d94b
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Support/GenericDomTree.cpp | ||
---|---|---|
220 | Fair enough, do you have a suggestion for a better name? findSiblingOfNthUncle perhaps? |
llvm/lib/Support/GenericDomTree.cpp | ||
---|---|---|
220 | I don't really have a better idea. The comment could maybe explain more of the cases it can encounter? "some ancestor" is a bit vague. |
llvm/lib/Support/GenericDomTree.cpp | ||
---|---|---|
220 | I agree with arsenm, the naming is unfortunate. Maybe climbUntilSiblings? Whatever name we settle on here, I think an ascii art with an example would really help here. |
v6: - rename to climbLhsUntilSiblings and add some explanatory ASCII art and comments for why this operation could be interesting
Should go in header?