[PATCH] D90275: [clang][IR] Add support for leaf attribute
Gulfem Savrun Yeniceri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 2 11:25:59 PST 2020
gulfem added inline comments.
================
Comment at: clang/include/clang/Basic/Attr.td:1435
+ let Spellings = [GCC<"leaf">];
+ let Subjects = SubjectList<[Function]>;
+ let Documentation = [Undocumented];
----------------
aaron.ballman wrote:
> Should this attribute also be supported on things like ObjC method decls or other function-like interfaces?
Do I need to do anything else to support this attribute in Objective-C as well?
I think we should support it in all the C languages family.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90275/new/
https://reviews.llvm.org/D90275
More information about the cfe-commits
mailing list