Add an explicit keyword.

llvm-svn: 78675
This commit is contained in:
Dan Gohman 2009-08-11 15:57:42 +00:00
parent 2168a9f25f
commit 557baeeae4
1 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,9 @@ public:
IRBuilder(LLVMContext &C, const T& F) :
Context(C), Folder(F) { ClearInsertionPoint(); }
IRBuilder(LLVMContext &C) : Context(C), Folder(C) { ClearInsertionPoint(); }
explicit IRBuilder(LLVMContext &C) : Context(C), Folder(C) {
ClearInsertionPoint();
}
explicit IRBuilder(BasicBlock *TheBB, const T& F)
: Context(TheBB->getContext()), Folder(F) {