skatrak added a comment.

In D143493#4110230 <https://reviews.llvm.org/D143493#4110230>, @awarzynski 
wrote:

> In what cases would this flag be used in practice? I've scanned Clang and 
> couldn't find any answers.

It is introduced to the arguments list in `Clang::AddPreprocessingOptions` in 
certain cases to add the OpenMP wrapper "__clang_openmp_device_functions.h" to 
the list of includes for device offload. It seemed likely that we would need to 
add a similar mechanism eventually to flang as well, although I suppose it 
could also be useful in other situations.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143493/new/

https://reviews.llvm.org/D143493

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to