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 "


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to