efriedma added a comment.

The idea of emitting annotations on declarations seems fine.  (LLVM itself 
doesn't consume annotations anyway; they're meant as an extension mechanism for 
third-party tools.)

I'm a bit concerned the way this is implemented will end up dropping 
annotations we would previously emit.  For example:

  void foo();
  void *xxx = (void*)foo;
  __attribute__((annotate("bar"))) void foo(){}


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156172/new/

https://reviews.llvm.org/D156172

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to