[clang] [Frontend][PCH]-Add support for ignoring PCH options (-ignore-pch). (PR #142409)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 3 01:50:58 PDT 2025
================
@@ -31,6 +31,16 @@ option:
$ clang -cc1 -include-pch test.h.pch test.c -o test.s
+To ignore PCH options using ``clang -cc1``, use the option `-ignore-pch`:
----------------
MaggieYingYi wrote:
Thanks again for explaining the document rule.
> Nonetheless, I think `-ignore-pch` doesn't make sense as a frontend flag, only as a driver flag.
I will update `-ignore-pch` as a driver option which is similar as the `-include-pch` option. Once `-ignore-pch` is a driver option, it needs to be documented on the UserManual.
https://github.com/llvm/llvm-project/pull/142409
More information about the cfe-commits
mailing list