[llvm-branch-commits] [clang] clang/AMDGPU: Merge toolchain subclasses (PR #204863)

Joseph Huber via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jun 22 07:18:29 PDT 2026


================
@@ -672,20 +673,34 @@ void amdgpu::getAMDGPUTargetFeatures(const Driver &D,
 
 /// AMDGPU Toolchain
 AMDGPUToolChain::AMDGPUToolChain(const Driver &D, const llvm::Triple &Triple,
-                                 const ArgList &Args)
+                                 const ArgList &Args, const ToolChain *HostTC_,
+                                 Action::OffloadKind Kind,
+                                 bool ShouldLinkDeviceLibs_)
----------------
jhuber6 wrote:

I don't like the `_` suffix. I thought that this should handle the shadowing correctly even if you use the same name?

https://github.com/llvm/llvm-project/pull/204863


More information about the llvm-branch-commits mailing list