[clang] [clang-repl] Implement IncrementalHIPDeviceParser for HIP device compilation (PR #218337)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 10 06:10:10 PDT 2026


================
@@ -11,19 +11,245 @@
 //===----------------------------------------------------------------------===//
 
 #include "DeviceOffload.h"
+#include "IncrementalAction.h"
 
 #include "clang/Basic/TargetOptions.h"
 #include "clang/CodeGen/ModuleBuilder.h"
 #include "clang/Frontend/CompilerInstance.h"
 #include "clang/Interpreter/PartialTranslationUnit.h"
 
+#include "llvm/ADT/StringSet.h"
----------------
yxsamliu wrote:

`Internalize.h`, `DeviceCodeGenOpts`, and the HIP parser's `TM` member appear to be unused after removing `optimize()`. Could we remove them as well?

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


More information about the cfe-commits mailing list