diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-07 01:43:45 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-07 01:43:45 +0000 |
commit | 8fab3d1f36b67bf46d584a3c3b483832fc2885ff (patch) | |
tree | 3557cc50a1ae5b6ecd644503c4b7d67b583be389 /include/llvm/ADT | |
parent | 6d29b324f77099bf84fefbf8cb529de5141e1080 (diff) | |
download | external_llvm-8fab3d1f36b67bf46d584a3c3b483832fc2885ff.zip external_llvm-8fab3d1f36b67bf46d584a3c3b483832fc2885ff.tar.gz external_llvm-8fab3d1f36b67bf46d584a3c3b483832fc2885ff.tar.bz2 |
Use std::string() instead of std::string("").
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/Triple.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h index 5c8244c..31cf8ef 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -94,7 +94,7 @@ public: /// @name Constructors /// @{ - Triple() : Data(""), Arch(InvalidArch) {} + Triple() : Data(), Arch(InvalidArch) {} explicit Triple(const StringRef &Str) : Data(Str), Arch(InvalidArch) {} explicit Triple(const char *ArchStr, const char *VendorStr, const char *OSStr) : Data(ArchStr), Arch(InvalidArch) { |