[clang] [Clang-Repl] Sinking RemoteJITUtils into Interpreter class(Refactoring) (PR #155140)

Abhinav Kumar via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 4 23:07:34 PDT 2025


================
@@ -275,10 +331,10 @@ int main(int argc, const char **argv) {
     if (!CudaPath.empty())
       CB.SetCudaSDK(CudaPath);
 
-    if (OffloadArch.empty()) {
-      OffloadArch = "sm_35";
+    if (::OffloadArch.empty()) {
+      ::OffloadArch = "sm_35";
     }
-    CB.SetOffloadArch(OffloadArch);
+    CB.SetOffloadArch(::OffloadArch);
----------------
kr-2003 wrote:

```
(base) llvm-project-test % clang --version       
Homebrew clang version 20.1.6
Target: arm64-apple-darwin24.5.0
Thread model: posix
InstalledDir: /opt/homebrew/Cellar/llvm/20.1.6/bin
Configuration file: /opt/homebrew/etc/clang/arm64-apple-darwin24.cfg'
```

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


More information about the cfe-commits mailing list