This patch cleans up multiple getMaybeValue functions to take an IdKind instead
of special functions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Not sure how to think of the tradeoff between having this runtime Idkind::Local check and the minor duplication. On the other hand, with more IdKinds like range, etc., it probably becomes worth it to deduplicate.