summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-07-30 14:51:59 +0000
committerDan Gohman <gohman@apple.com>2007-07-30 14:51:59 +0000
commitf452207d202618f92cbc04bcc6251ecae0eb6d61 (patch)
treed35b209d288a2be926957ab9b62855d94fbf8500 /include
parent209ee187c92db27e7b38bef26a14f3b257bc2744 (diff)
downloadllvm-f452207d202618f92cbc04bcc6251ecae0eb6d61.tar.gz
llvm-f452207d202618f92cbc04bcc6251ecae0eb6d61.tar.bz2
llvm-f452207d202618f92cbc04bcc6251ecae0eb6d61.tar.xz
More explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetData.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetData.h b/include/llvm/Target/TargetData.h
index 5756079c40..b51b519fb6 100644
--- a/include/llvm/Target/TargetData.h
+++ b/include/llvm/Target/TargetData.h
@@ -115,13 +115,13 @@ public:
}
/// Constructs a TargetData from a specification string. See init().
- TargetData(const std::string &TargetDescription)
+ explicit TargetData(const std::string &TargetDescription)
: ImmutablePass((intptr_t)&ID) {
init(TargetDescription);
}
/// Initialize target data from properties stored in the module.
- TargetData(const Module *M);
+ explicit TargetData(const Module *M);
TargetData(const TargetData &TD) :
ImmutablePass((intptr_t)&ID),