[clang] [Driver][AMDGPU] Search include/hipccl for hipstdpar/rocThrust headers (PR #246125)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 4 15:15:09 PST 2026


================
@@ -559,46 +559,63 @@ void RocmInstallationDetector::AddHIPIncludeArgs(const ArgList &DriverArgs,
     CC1Args.push_back(DriverArgs.MakeArgString(P));
   }
 
-  const auto HandleHipStdPar = [=, &DriverArgs, &CC1Args]() {
+  const auto AddAfter = [&](const Twine &Path) {
----------------
arsenm wrote:

THIs probably shouldn't be Twine given none of the call sites are building twines 

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


More information about the cfe-commits mailing list