ilovepi wrote: > This one shouldn't work. We explicitly don't diagnose this in non-codegen invocations. That's surprising, but if that's the case, I don't think this patch makes much sense. https://github.com/llvm/llvm-project/pull/135255