@@ -451,13 +451,44 @@ const char *const Runtimes = R"(
)";
llvm::Expected>
-Interpreter::create(std::unique_ptr CI) {
+Interpreter::create(std::unique_ptr CI,
+std::unique_ptr DeviceCI) {
llvm::Error Err = llvm::Error::success();
auto Interp =
https://github.com/anutosh491 updated
https://github.com/llvm/llvm-project/pull/136404
>From 1b18e96882590825075b8f8e5094fdcb5225d349 Mon Sep 17 00:00:00 2001
From: anutosh491
Date: Fri, 18 Apr 2025 18:45:00 +0530
Subject: [PATCH] Fix cuda flag with clang-repl
---
clang/include/clang/Interpre
https://github.com/anutosh491 updated
https://github.com/llvm/llvm-project/pull/136404
>From 82a2be2dd0780bd3d57f4a22d61a4b0752696934 Mon Sep 17 00:00:00 2001
From: anutosh491
Date: Fri, 18 Apr 2025 18:45:00 +0530
Subject: [PATCH 1/5] Fix cuda flag with clang-repl
---
clang/include/clang/Inte
anutosh491 wrote:
cc @AaronBallman @vgvassilev
This fixes this discussion y'all had
https://github.com/llvm/llvm-project/pull/107737#discussion_r1806913203
Unfortunately I am on an Apple m1 so I can just justify seeing this on my side
```
(base) anutosh491@Anutoshs-MacBook-Air bin % ./clang-
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp,h --
clang/include/clang/Interpreter/Interpreter.h
clan
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Anutosh Bhat (anutosh491)
Changes
`clang-repl --cuda` was previously crashing with a segmentation fault, instead
of reporting a clean error
```
(base) anutosh491@Anutoshs-MacBook-Air bin % ./clang-repl --cuda
#0 0x000111da4fbc
llvm:
https://github.com/anutosh491 created
https://github.com/llvm/llvm-project/pull/136404
`clang-repl --cuda` was previously crashing with a segmentation fault, instead
of reporting a clean error
```
(base) anutosh491@Anutoshs-MacBook-Air bin % ./clang-repl --cuda
#0 0x000111da4fbc llvm::sys