File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
llvm/include/llvm/TargetParser Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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);
You can’t perform that action at this time.
0 commit comments