[clang] 589851c - [nfc][clang][driver][darwin] Label the ArgList argument in getCompilerRT in the Darwin toolchain (#175272)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 9 18:03:29 PST 2026
Author: Ian Anderson
Date: 2026-01-10T02:03:25Z
New Revision: 589851cbbf28f0ccf7e49b64dfffdf8b9c6cd661
URL: https://github.com/llvm/llvm-project/commit/589851cbbf28f0ccf7e49b64dfffdf8b9c6cd661
DIFF: https://github.com/llvm/llvm-project/commit/589851cbbf28f0ccf7e49b64dfffdf8b9c6cd661.diff
LOG: [nfc][clang][driver][darwin] Label the ArgList argument in getCompilerRT in the Darwin toolchain (#175272)
Added:
Modified:
clang/lib/Driver/ToolChains/Darwin.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/Darwin.cpp b/clang/lib/Driver/ToolChains/Darwin.cpp
index caf27e40f2832..fb75739360328 100644
--- a/clang/lib/Driver/ToolChains/Darwin.cpp
+++ b/clang/lib/Driver/ToolChains/Darwin.cpp
@@ -1344,7 +1344,7 @@ void MachO::AddLinkRuntimeLib(const ArgList &Args, ArgStringList &CmdArgs,
}
}
-std::string MachO::getCompilerRT(const ArgList &, StringRef Component,
+std::string MachO::getCompilerRT(const ArgList &Args, StringRef Component,
FileType Type, bool IsFortran) const {
assert(Type != ToolChain::FT_Object &&
"it doesn't make sense to ask for the compiler-rt library name as an "
@@ -1363,7 +1363,7 @@ std::string MachO::getCompilerRT(const ArgList &, StringRef Component,
return std::string(FullPath);
}
-std::string Darwin::getCompilerRT(const ArgList &, StringRef Component,
+std::string Darwin::getCompilerRT(const ArgList &Args, StringRef Component,
FileType Type, bool IsFortran) const {
assert(Type != ToolChain::FT_Object &&
"it doesn't make sense to ask for the compiler-rt library name as an "
More information about the cfe-commits
mailing list