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:
d7bfd00
)
Add an explicit keyword.
author
Dan Gohman
<gohman@apple.com>
Fri, 2 Apr 2010 14:57:49 +0000
(14:57 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 2 Apr 2010 14:57:49 +0000
(14:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100187
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/SlowOperationInformer.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/SlowOperationInformer.h
b/include/llvm/Support/SlowOperationInformer.h
index 524049cbff17ddaa2897f300eeb868e07faf3ddd..607d993fff7badf5bd03e7537cdeab6516634523 100644
(file)
--- a/
include/llvm/Support/SlowOperationInformer.h
+++ b/
include/llvm/Support/SlowOperationInformer.h
@@
-41,7
+41,7
@@
namespace llvm {
SlowOperationInformer(const SlowOperationInformer&); // DO NOT IMPLEMENT
void operator=(const SlowOperationInformer&); // DO NOT IMPLEMENT
public:
- SlowOperationInformer(const std::string &Name);
+
explicit
SlowOperationInformer(const std::string &Name);
~SlowOperationInformer();
/// progress - Clients should periodically call this method when they can