diff options
author | Richard Smith <richard@metafoo.co.uk> | 2022-09-06 17:10:55 -0700 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2022-09-06 17:12:57 -0700 |
commit | a002063de37c00133b93d2ce1f0ea78fc4b807ff (patch) | |
tree | 989e7879059bf93a6b575dbe982a3085f3424e54 /clang/lib/Driver/Driver.cpp | |
parent | 4f5147a7cff5fbb0191342ad224630de0872f180 (diff) | |
download | llvm-a002063de37c00133b93d2ce1f0ea78fc4b807ff.zip llvm-a002063de37c00133b93d2ce1f0ea78fc4b807ff.tar.gz llvm-a002063de37c00133b93d2ce1f0ea78fc4b807ff.tar.bz2 |
Enforce module decl-use restrictions and private header restrictions in textual headers
Per the documentation, these restrictions were intended to apply to textual headers but previously this didn't work because we decided there was no requesting module when the `#include` was in a textual header.
A `-cc1` flag is provided to restore the old behavior for transitionary purposes.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D132779
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions