[clang] [Clang][DebugInfo] Clang generates an extra spurious unnamed 'dbg.declare' (PR #69681)

Orlando Cazalet-Hyams via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 20 03:36:31 PDT 2023


https://github.com/OCHyams commented:

This SGTM.

I don't think the unnamed variable serves any useful purpose but may not being imaginative enough. I can't see any discussion on the topic when the code was added in [D119178](https://reviews.llvm.org/D119178) . CC the author, @shafik (or @adrian-prantl) - is there a use-case for the anonymous variable that covers the whole of the structured binding storage?

https://github.com/llvm/llvm-project/pull/69681


More information about the cfe-commits mailing list