================
@@ -6612,6 +6612,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction 
&JA,
   Args.AddLastArg(CmdArgs, options::OPT_fconstexpr_depth_EQ);
   Args.AddLastArg(CmdArgs, options::OPT_fconstexpr_steps_EQ);
 
+  Args.AddLastArg(CmdArgs, options::OPT_fimplicit_constexpr);
----------------
Sirraide wrote:

We should issue a driver diagnostic *somewhere* if someone tries to pass 
`-fimplicit-constexpr` if we’re not compiling C++. And we’d need tests for that 
too then.

https://github.com/llvm/llvm-project/pull/136436
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to