[cfe-dev] BPF: adding new clang extension bpf_dominating_decl attribute

Nathan Sidwell via cfe-dev cfe-dev at lists.llvm.org
Thu Jan 6 03:45:12 PST 2022


On 1/3/22 15:51, Aaron Ballman wrote:

> Which brings up an interesting question -- how does this attribute
> interact with debug information?

The attribute may only be applied to the first definition of an 
elaborated type (or first declaration of a typedef).  Thus debug info 
and/or any completion semantics are from that instance.  Subsequent 
redefinitions (or redeclarations) are ignored.

does that answer your question?

nathan

-- 
Nathan Sidwell


More information about the cfe-dev mailing list