summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-11 15:57:42 +0000
committerDan Gohman <gohman@apple.com>2009-08-11 15:57:42 +0000
commit557baeeae46c301a856ffb7ed0b629a7be4000a2 (patch)
tree49feefb4d26eff8dcd24cb8b1f3dbab68e7ba0e2 /llvm
parent2168a9f25fdb2c24f306885d67c7ed9c3663e66b (diff)
downloadbcm5719-llvm-557baeeae46c301a856ffb7ed0b629a7be4000a2.tar.gz
bcm5719-llvm-557baeeae46c301a856ffb7ed0b629a7be4000a2.zip
Add an explicit keyword.
llvm-svn: 78675
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/IRBuilder.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/IRBuilder.h b/llvm/include/llvm/Support/IRBuilder.h
index d0535c36040..b2619a56b6e 100644
--- a/llvm/include/llvm/Support/IRBuilder.h
+++ b/llvm/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) {
OpenPOWER on IntegriCloud