getMetadata() currently uses a weird API where it populates a structure passed to it, and optionally merges into it. Instead, we can return the AAMDNodes and provide a separate merge() API. This makes usages more compact.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Maybe interesting to add a LLVM_NODISCARD ? This should avoid missuses like: