mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Add the 'explicit' keyword to several constructors that accept one
argument that don't appear intended as implicit-conversion operators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35280 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -70,8 +70,8 @@ public:
|
||||
/// is automatically inserted at either the end of the function (if
|
||||
/// InsertBefore is null), or before the specified basic block.
|
||||
///
|
||||
BasicBlock(const std::string &Name = "", Function *Parent = 0,
|
||||
BasicBlock *InsertBefore = 0);
|
||||
explicit BasicBlock(const std::string &Name = "", Function *Parent = 0,
|
||||
BasicBlock *InsertBefore = 0);
|
||||
~BasicBlock();
|
||||
|
||||
/// getParent - Return the enclosing method, or null if none
|
||||
|
Reference in New Issue
Block a user