Make flags -fmodules-validate-system-headers and
-fmodules-validate-once-per-build-session orthogonal, so they have
their own independent responsibilities - if system headers should be
validated and how often.
rdar://87988889
Paths
| Differential D135232
[modules] Allow to validate system headers less often with `-fmodules-validate-once-per-build-session`. ClosedPublic Authored by vsapsai on Oct 4 2022, 5:56 PM.
Details Summary Make flags -fmodules-validate-system-headers and rdar://87988889
Diff Detail
Event TimelineComment Actions Here is the documentation for both flags:
There is no mention of how these flags are interconnected. Comment Actions This makes sense. We shouldn't re-validate system headers when -fmodules-validate-once-per-build-session is passed too. This revision is now accepted and ready to land.Oct 11 2022, 11:04 AM Closed by commit rGa6ebd3083dbf: [modules] Allow to validate system headers less often with `-fmodules-validate… (authored by vsapsai). · Explain WhyOct 12 2022, 11:10 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 467203 clang/lib/Serialization/ASTReader.cpp
clang/test/Modules/fmodules-validate-once-per-build-session.c
clang/test/Modules/validate-system-headers.m
|