[clang] [CUDA][HIP] add option -gpuinc (PR #140106)
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Thu May 15 14:42:16 PDT 2025
================
@@ -5734,6 +5734,9 @@ def nobuiltininc : Flag<["-"], "nobuiltininc">,
def nogpuinc : Flag<["-"], "nogpuinc">, Group<IncludePath_Group>,
HelpText<"Do not add include paths for CUDA/HIP and"
" do not include the default CUDA/HIP wrapper headers">;
+def gpuinc : Flag<["-"], "gpuinc">, Group<IncludePath_Group>,
+ HelpText<"Add include paths for CUDA/HIP and"
+ " include the default CUDA/HIP wrapper headers">;
----------------
Artem-B wrote:
Can we consolidate them into s single boolean flag?
https://github.com/llvm/llvm-project/pull/140106
More information about the cfe-commits
mailing list