llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Brad Smith (brad0) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/122519.diff 1 Files Affected: - (modified) clang/lib/Basic/Targets.cpp (+8-8) ``````````diff diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index be5dedbe8044e2..f40b81c02eb7ec 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -726,31 +726,31 @@ std::unique_ptr<TargetInfo> AllocateTarget(const llvm::Triple &Triple, case llvm::Triple::csky: switch (os) { case llvm::Triple::Linux: - return std::make_unique<LinuxTargetInfo<CSKYTargetInfo>>(Triple, Opts); + return std::make_unique<LinuxTargetInfo<CSKYTargetInfo>>(Triple, Opts); default: - return std::make_unique<CSKYTargetInfo>(Triple, Opts); + return std::make_unique<CSKYTargetInfo>(Triple, Opts); } case llvm::Triple::loongarch32: switch (os) { case llvm::Triple::Linux: - return std::make_unique<LinuxTargetInfo<LoongArch32TargetInfo>>(Triple, - Opts); + return std::make_unique<LinuxTargetInfo<LoongArch32TargetInfo>>(Triple, + Opts); case llvm::Triple::FreeBSD: return std::make_unique<FreeBSDTargetInfo<LoongArch32TargetInfo>>(Triple, Opts); default: - return std::make_unique<LoongArch32TargetInfo>(Triple, Opts); + return std::make_unique<LoongArch32TargetInfo>(Triple, Opts); } case llvm::Triple::loongarch64: switch (os) { case llvm::Triple::Linux: - return std::make_unique<LinuxTargetInfo<LoongArch64TargetInfo>>(Triple, - Opts); + return std::make_unique<LinuxTargetInfo<LoongArch64TargetInfo>>(Triple, + Opts); case llvm::Triple::FreeBSD: return std::make_unique<FreeBSDTargetInfo<LoongArch64TargetInfo>>(Triple, Opts); default: - return std::make_unique<LoongArch64TargetInfo>(Triple, Opts); + return std::make_unique<LoongArch64TargetInfo>(Triple, Opts); } case llvm::Triple::xtensa: `````````` </details> https://github.com/llvm/llvm-project/pull/122519 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits