Question about the ns_bridged attribute

Aaron Ballman aaron at aaronballman.com
Thu Dec 19 07:13:08 PST 2013


The ns_bridged attribute was added in r140779:

https://llvm.org/viewvc/llvm-project?logsort=cvs&view=revision&sortby=log&revision=140779

This attribute creates an AST node, attaches it to a Decl, but no
other part of the compiler makes use of that AST node. The commit
message mentions that this might be interesting for tools to make use
of, but I am wondering whether any tools actually make use of it. From
what I could find on google, there doesn't appear to be much mention
of what this attribute is used for (if it's used at all).

I'm trying to determine whether this attribute should continue to
generate an AST node, or whether this was part of an unfinished
feature and the attribute should be removed, or the feature finished.
Either is perfectly fine with me.

Thanks!

~Aaron



More information about the cfe-commits mailing list