[clang] [clang-repl] : Fix clang-repl crash with --cuda flag (PR #136404)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 24 06:50:45 PDT 2025


================
@@ -28,20 +28,21 @@ IncrementalCUDADeviceParser::IncrementalCUDADeviceParser(
     std::unique_ptr<CompilerInstance> DeviceInstance,
     CompilerInstance &HostInstance,
     llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS,
-    llvm::Error &Err, const std::list<PartialTranslationUnit> &PTUs)
----------------
vgvassilev wrote:

Why removing the const?

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


More information about the cfe-commits mailing list