summaryrefslogtreecommitdiff
path: root/include/llvm/Bitcode/Archive.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/Archive.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/Archive.h')
-rw-r--r--include/llvm/Bitcode/Archive.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Bitcode/Archive.h b/include/llvm/Bitcode/Archive.h
index 39ad5eb63a..6ddf4a4aca 100644
--- a/include/llvm/Bitcode/Archive.h
+++ b/include/llvm/Bitcode/Archive.h
@@ -198,7 +198,7 @@ class ArchiveMember {
private:
/// Used internally by the Archive class to construct an ArchiveMember.
/// The contents of the ArchiveMember are filled out by the Archive class.
- ArchiveMember(Archive *PAR);
+ explicit ArchiveMember(Archive *PAR);
// So Archive can construct an ArchiveMember
friend class llvm::Archive;
@@ -461,7 +461,7 @@ class Archive {
protected:
/// @brief Construct an Archive for \p filename and optionally map it
/// into memory.
- Archive(const sys::Path& filename);
+ explicit Archive(const sys::Path& filename);
/// @param data The symbol table data to be parsed
/// @param len The length of the symbol table data