arichardson added a comment.

I don't see an easy way of fixing the pragma clang attribute support for this. 
Would it be okay to commit this change anyway?
Since `alloc_size` is only used for very few functions I'd be very surprised if 
there's any existing code that relies on using `#pragma clang atrribute` with 
`alloc_size`.

By the way GCC now also supports the attribute on function pointers: 
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=267158


Repository:
  rC Clang

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

https://reviews.llvm.org/D55212



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

Reply via email to