diff options
Diffstat (limited to 'lldb/source/Core/ArchSpec.cpp')
-rw-r--r-- | lldb/source/Core/ArchSpec.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lldb/source/Core/ArchSpec.cpp b/lldb/source/Core/ArchSpec.cpp index 54fd348bd87..24aba81350a 100644 --- a/lldb/source/Core/ArchSpec.cpp +++ b/lldb/source/Core/ArchSpec.cpp @@ -434,12 +434,6 @@ ArchSpec::ArchSpec (const char *triple_cstr, Platform *platform) : SetTriple(triple_cstr, platform); } -ArchSpec::ArchSpec(llvm::StringRef triple_str, Platform *platform) - : m_triple(), m_core(kCore_invalid), m_byte_order(eByteOrderInvalid), m_flags(0), m_distribution_id() -{ - if (!triple_str.empty()) - SetTriple(triple_str.str().c_str(), platform); -} ArchSpec::ArchSpec (const char *triple_cstr) : m_triple (), @@ -452,13 +446,6 @@ ArchSpec::ArchSpec (const char *triple_cstr) : SetTriple(triple_cstr); } -ArchSpec::ArchSpec(llvm::StringRef triple_str) - : m_triple(), m_core(kCore_invalid), m_byte_order(eByteOrderInvalid), m_flags(0), m_distribution_id() -{ - if (!triple_str.empty()) - SetTriple(triple_str.str().c_str()); -} - ArchSpec::ArchSpec(const llvm::Triple &triple) : m_triple (), m_core (kCore_invalid), |