summaryrefslogtreecommitdiff
path: root/include/llvm/Bitcode/BitCodes.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-10-08 15:08:41 +0000
committerDan Gohman <gohman@apple.com>2007-10-08 15:08:41 +0000
commitcdf2b3b2f88d6f961b664e3f67a8ee37b46b0d27 (patch)
tree4734759131091672970dd5592c47d2f64ad585d4 /include/llvm/Bitcode/BitCodes.h
parent5477f8593db785bbe84a4fe923b1e5645ff15f6a (diff)
downloadllvm-cdf2b3b2f88d6f961b664e3f67a8ee37b46b0d27.tar.gz
llvm-cdf2b3b2f88d6f961b664e3f67a8ee37b46b0d27.tar.bz2
llvm-cdf2b3b2f88d6f961b664e3f67a8ee37b46b0d27.tar.xz
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42747 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode/BitCodes.h')
-rw-r--r--include/llvm/Bitcode/BitCodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Bitcode/BitCodes.h b/include/llvm/Bitcode/BitCodes.h
index 59d57e77f2..a959ef2229 100644
--- a/include/llvm/Bitcode/BitCodes.h
+++ b/include/llvm/Bitcode/BitCodes.h
@@ -91,8 +91,8 @@ public:
Char6 = 4 // A 6-bit fixed field which maps to [a-zA-Z0-9._].
};
- BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {}
- BitCodeAbbrevOp(Encoding E, uint64_t Data = 0)
+ explicit BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {}
+ explicit BitCodeAbbrevOp(Encoding E, uint64_t Data = 0)
: Val(Data), IsLiteral(false), Enc(E) {}
bool isLiteral() const { return IsLiteral; }