[clang] [Frontend][PCH]-Add support for ignoring PCH options (-ignore-pch). (PR #142409)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 2 09:50:56 PDT 2025


================
@@ -0,0 +1,6 @@
+#ifndef IGNORED_PCH_H
+#define IGNORED_PCH_H
+inline int f() {
+  return 42;
+}
+#endif // IGNORED_PCH_H
----------------
MaggieYingYi wrote:

Thanks, fixed in https://github.com/MaggieYingYi/llvm-project/commit/71ad57b6e9497ee69fd42735b385bbca06aeede1.

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


More information about the cfe-commits mailing list