[clang] [clang][Driver] Add flag for setting SkipFunctionBodies (PR #100135)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 23 08:25:23 PDT 2024


https://github.com/AaronBallman commented:

My initial thinking was that this doesn't scale particularly well as there may be other options we want to also set at the same time to help produce a reproducer. But after looking through the existing options, I don't really see others that don't already have some form of option. But I'll still ask the question: would it make sense to name this `-helpful-reproducers` or something more generic so we don't feel tempted to expose even more internal options this way?

That said, so long as this is a `-cc1`-only option, it seems reasonable to me.

https://github.com/llvm/llvm-project/pull/100135


More information about the cfe-commits mailing list