[PATCH] D48443: [WebAssembly] Add no-prototype attribute to prototype-less C functions

Sam Clegg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 22 15:15:25 PDT 2018


sbc100 added a comment.

Without  the check for `doesThisDeclarationHaveABody()` the attribute will also be added to `baz` which is IIRC is not what we want since the C notions of "prototypeless" only applies to forward declarations I think.


Repository:
  rC Clang

https://reviews.llvm.org/D48443





More information about the cfe-commits mailing list