diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-11 15:57:42 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-11 15:57:42 +0000 |
commit | 4a77f2ab65cc1136e1df99966bbebd062199b833 (patch) | |
tree | f574dbcf8439acef23b195c571bc2d8caf4664a8 /include/llvm/Support/IRBuilder.h | |
parent | b290a121c87d8472d58c48c99e56d9e79007fe87 (diff) | |
download | external_llvm-4a77f2ab65cc1136e1df99966bbebd062199b833.zip external_llvm-4a77f2ab65cc1136e1df99966bbebd062199b833.tar.gz external_llvm-4a77f2ab65cc1136e1df99966bbebd062199b833.tar.bz2 |
Add an explicit keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/IRBuilder.h')
-rw-r--r-- | include/llvm/Support/IRBuilder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h index d0535c3..b2619a5 100644 --- a/include/llvm/Support/IRBuilder.h +++ b/include/llvm/Support/IRBuilder.h @@ -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) { |