Skip to content

Commit 57db18c

Browse files
committed
Remove LLVM_ABI from inline constructors
1 parent 504e294 commit 57db18c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/include/llvm/TargetParser/Triple.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,10 +351,10 @@ class Triple {
351351
Triple() = default;
352352

353353
LLVM_ABI explicit Triple(std::string &&Str);
354-
LLVM_ABI explicit Triple(StringRef Str) : Triple(Str.str()) {}
354+
explicit Triple(StringRef Str) : Triple(Str.str()) {}
355+
explicit Triple(const char *Str) : Triple(std::string(Str)) {}
356+
explicit Triple(const std::string &Str) : Triple(std::string(Str)) {}
355357
LLVM_ABI explicit Triple(const Twine &Str);
356-
LLVM_ABI explicit Triple(const char *Str) : Triple(std::string(Str)) {}
357-
LLVM_ABI explicit Triple(const std::string &Str) : Triple(std::string(Str)) {}
358358

359359
LLVM_ABI Triple(const Twine &ArchStr, const Twine &VendorStr,
360360
const Twine &OSStr);

0 commit comments

Comments
 (0)