diff options
author | Dan Gohman <gohman@apple.com> | 2007-07-30 14:51:59 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-07-30 14:51:59 +0000 |
commit | f452207d202618f92cbc04bcc6251ecae0eb6d61 (patch) | |
tree | d35b209d288a2be926957ab9b62855d94fbf8500 /include/llvm/Target | |
parent | 209ee187c92db27e7b38bef26a14f3b257bc2744 (diff) | |
download | external_llvm-f452207d202618f92cbc04bcc6251ecae0eb6d61.zip external_llvm-f452207d202618f92cbc04bcc6251ecae0eb6d61.tar.gz external_llvm-f452207d202618f92cbc04bcc6251ecae0eb6d61.tar.bz2 |
More explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r-- | include/llvm/Target/TargetData.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetData.h b/include/llvm/Target/TargetData.h index 5756079..b51b519 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), |