mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-26 13:36:28 +00:00
Document BasicBlock::Create.
llvm-svn: 54210
This commit is contained in:
parent
a337c8e1a1
commit
782943a0ec
@ -74,7 +74,9 @@ public:
|
||||
typedef InstListType::iterator iterator;
|
||||
typedef InstListType::const_iterator const_iterator;
|
||||
|
||||
// allocate space for exactly zero operands
|
||||
/// Create - Creates a new BasicBlock. If the Parent parameter is specified,
|
||||
/// the basic block is automatically inserted at either the end of the
|
||||
/// function (if InsertBefore is 0), or before the specified basic block.
|
||||
static BasicBlock *Create(const std::string &Name = "", Function *Parent = 0,
|
||||
BasicBlock *InsertBefore = 0) {
|
||||
return new BasicBlock(Name, Parent, InsertBefore);
|
||||
|
Loading…
Reference in New Issue
Block a user