tbaeder added a comment. In D152090#4395827 <https://reviews.llvm.org/D152090#4395827>, @MaskRay wrote:
> `def fcaret_diagnostics_max_lines` in `Options.td` has the `NoDriverOption` > flag. Move it to other places with `BooleainFFlag` should work. > Then in `Clang.cpp` you can just write `Args.AddLastArg(...)` > > Can you add some description that this is related to D147875 > <https://reviews.llvm.org/D147875> ? Can you give a more concrete example? I modeled this patch after existing similar options, like `-fmacro-backtrace-limit`. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152090/new/ https://reviews.llvm.org/D152090 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits