[PATCH] D26540: [Sema] Accept and ignore the leaf attribute

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 11 07:10:35 PST 2016


aaron.ballman added a reviewer: aaron.ballman.
aaron.ballman added a comment.

There are a *lot* of attributes GCC supports that Clang does not, and we generally do not silence diagnostics with them as that usually does the user a disservice because they are unaware that the attribute has no effect under any circumstances. Given that: why is this change needed; is this attribute commonly used in some system header files?


Repository:
  rL LLVM

https://reviews.llvm.org/D26540





More information about the cfe-commits mailing list