[PATCH] Implement the flatten attribute.
Peter Collingbourne
peter at pcc.me.uk
Fri May 16 23:17:04 PDT 2014
This is a GNU attribute that causes functions called by a function with the
attribute to be inlined where possible. It is implemented by giving calls
in such functions the alwaysinline attribute.
http://reviews.llvm.org/D3816
Files:
include/clang/Basic/Attr.td
lib/CodeGen/CGCall.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/MicrosoftCXXABI.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/flatten.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3816.9506.patch
Type: text/x-patch
Size: 4773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140517/a0019fa2/attachment.bin>
More information about the cfe-commits
mailing list