aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-09-24 15:48:49 +0000
committerDan Gohman <gohman@apple.com>2007-09-24 15:48:49 +0000
commit746767b097869a3277e5edf5e5e2a115a3eab84e (patch)
treea25c95397ffb19ea81b7097634771e0d65337076 /lib/Transforms
parent11a7dbf12715e66bcf427dc1694aa57455335dfb (diff)
downloadexternal_llvm-746767b097869a3277e5edf5e5e2a115a3eab84e.zip
external_llvm-746767b097869a3277e5edf5e5e2a115a3eab84e.tar.gz
external_llvm-746767b097869a3277e5edf5e5e2a115a3eab84e.tar.bz2
explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/GVNPRE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/GVNPRE.cpp b/lib/Transforms/Scalar/GVNPRE.cpp
index b3d2fe2..b164873 100644
--- a/lib/Transforms/Scalar/GVNPRE.cpp
+++ b/lib/Transforms/Scalar/GVNPRE.cpp
@@ -70,7 +70,7 @@ struct Expression {
SmallVector<uint32_t, 4> varargs;
Expression() { }
- Expression(ExpressionOpcode o) : opcode(o) { }
+ explicit Expression(ExpressionOpcode o) : opcode(o) { }
bool operator==(const Expression &other) const {
if (opcode != other.opcode)