Also reorganize the code for computing supertypes to make it more symmetric to subtypes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clang-tools-extra/clangd/XRefs.cpp | ||
---|---|---|
1238 ↗ | (On Diff #209407) | having a function named getTypeAncestors with a parameter ResolveParents doesn't make much sense. maybe move the check to caller side and simply don't call it if we are not interested in parents? I think it makes sense to make this part also similar to subtypes:
WDYT? |
clang-tools-extra/clangd/XRefs.cpp | ||
---|---|---|
1238 ↗ | (On Diff #209407) | Agreed, this makes the code cleaner. |