mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[IR] Add doc about Function::createWithDefaultAttr. NFC
This commit is contained in:
parent
b632d8aff2
commit
40b4beda19
@ -153,6 +153,11 @@ public:
|
||||
static Function *Create(FunctionType *Ty, LinkageTypes Linkage,
|
||||
const Twine &N, Module &M);
|
||||
|
||||
/// Creates a function with some attributes recorded in llvm.module.flags
|
||||
/// applied.
|
||||
///
|
||||
/// Use this when synthesizing new functions that need attributes that would
|
||||
/// have been set by command line options.
|
||||
static Function *createWithDefaultAttr(FunctionType *Ty, LinkageTypes Linkage,
|
||||
unsigned AddrSpace,
|
||||
const Twine &N = "",
|
||||
|
Loading…
Reference in New Issue
Block a user