aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode/Reader
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-03-25 22:06:05 +0000
committerDan Gohman <gohman@apple.com>2008-03-25 22:06:05 +0000
commit40bd38ebb955c55a8ff7ea4ba252afbb093bc3d2 (patch)
treeff52517c682e08112a66247bc8b85f81664f72b3 /lib/Bitcode/Reader
parent12300e1e31559e34d96e533506f74f7cb77020a2 (diff)
downloadexternal_llvm-40bd38ebb955c55a8ff7ea4ba252afbb093bc3d2.zip
external_llvm-40bd38ebb955c55a8ff7ea4ba252afbb093bc3d2.tar.gz
external_llvm-40bd38ebb955c55a8ff7ea4ba252afbb093bc3d2.tar.bz2
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
-rw-r--r--lib/Bitcode/Reader/BitcodeReader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.h b/lib/Bitcode/Reader/BitcodeReader.h
index 9a140d9..86b00a5 100644
--- a/lib/Bitcode/Reader/BitcodeReader.h
+++ b/lib/Bitcode/Reader/BitcodeReader.h
@@ -117,7 +117,8 @@ class BitcodeReader : public ModuleProvider {
/// stream) and what linkage the original function had.
DenseMap<Function*, std::pair<uint64_t, unsigned> > DeferredFunctionInfo;
public:
- BitcodeReader(MemoryBuffer *buffer) : Buffer(buffer), ErrorString(0) {
+ explicit BitcodeReader(MemoryBuffer *buffer)
+ : Buffer(buffer), ErrorString(0) {
HasReversedFunctionsWithBodies = false;
}
~BitcodeReader() {