ABataev accepted this revision. ABataev added a comment. This revision is now accepted and ready to land.
LG, with some nits ================ Comment at: include/clang/Driver/Options.td:1428 +def fopenmp_cuda_mode : Flag<["-"], "fopenmp-cuda-mode">, Group<f_Group>, Flags<[CC1Option, NoArgumentUnused]>; +def fno_openmp_cuda_mode : Flag<["-"], "fno-openmp-cuda-mode">, Group<f_Group>, Flags<[NoArgumentUnused]>; def fno_optimize_sibling_calls : Flag<["-"], "fno-optimize-sibling-calls">, Group<f_Group>; ---------------- This flag also must be `CC1Option` ================ Comment at: lib/Frontend/CompilerInvocation.cpp:2533 + Args.hasFlag(OPT_fopenmp_cuda_mode, OPT_fno_openmp_cuda_mode, + /*Default=*/false); + ---------------- After some thoughts I think it is better to make `true` by default, because `Generic` mode is not completed yet. Repository: rC Clang https://reviews.llvm.org/D43852 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits