Files
clang-p2996/clang/test/CodeGenCXX/debug-info-structured-binding.cpp
Carlos Alberto Enciso 2399c77c85 [Clang][DebugInfo] Clang generates an extra spurious unnamed 'dbg.declare' (#69681)
Do not emit call to llvm.dbg.declare when the variable declaration
is a DecompositionDecl as its instance class is always unnamed.

The emitted debug declare looks like:

call void @llvm.dbg.declare(metadata ..., metadata !xx, metadata ...)
!xx = !DILocalVariable(scope: !..., file: !..., line: ..., type: !...)
2023-10-25 10:35:03 +01:00

1.2 KiB