Jakub wrote:
> You can still -include some header file from the command line and put the
> attributes in there or similar.
True although this probably won't work with C++ methods.
> The blacklist is really terribly ugly hack,
> which can't work reliably. What do you do for anonymous namespaces? For
> not exported functions? Identifying externally decls by name is
> problematic, without mangled names very problematic, with mangled
names not
> useful for symbols that are local to the TU.
Good points, I guess the present blacklist format does not really
address them.
But I don't think that's a fundamental limitation - it should be
possible to cook a nice query language for C++.
Konstantin wrote:
> All of this is a bit ugly.
> But we have no other mechanism that works today.
Agreed. I guess our main question is whether such mechanism is really
needed by developers.
-Y