projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f4151b
)
Add an explicit keyword.
author
Dan Gohman
<gohman@apple.com>
Tue, 11 Aug 2009 15:57:42 +0000
(15:57 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 11 Aug 2009 15:57:42 +0000
(15:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78675
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/IRBuilder.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/IRBuilder.h
b/include/llvm/Support/IRBuilder.h
index d0535c360402e62639f43056a1c948b76ffba45e..b2619a56b6e9a7413d01ef6a9b456e5e49c7abcb 100644
(file)
--- 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) {