]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add -f[no-]header-guard-opt devel/c++-modules
authorNathan Sidwell <nathan@acm.org>
Wed, 3 Feb 2021 19:37:35 +0000 (11:37 -0800)
committerNathan Sidwell <nathan@acm.org>
Wed, 3 Feb 2021 19:37:35 +0000 (11:37 -0800)
commit65165eb3f833a3f0415fd76913bf85722a13fbe0
tree7df7716b7ec748d6c040f116333ccb9ef7ebd7de
parent000bee388be0867b660516013a341f6cd6a0ae46
Add -f[no-]header-guard-opt

Added so that one can determine the include graph from the -E output.
13 files changed:
gcc/c-family/c-opts.c
gcc/c-family/c.opt
gcc/cp/module.cc
gcc/doc/cppopts.texi
gcc/testsuite/c-c++-common/cpp/headerguard.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/cpp/noheaderguard-a.h [new file with mode: 0644]
gcc/testsuite/c-c++-common/cpp/noheaderguard-b.h [new file with mode: 0644]
gcc/testsuite/c-c++-common/cpp/noheaderguard.c [new file with mode: 0644]
gcc/testsuite/g++.dg/modules/noheaderguard-1_a.H [new file with mode: 0644]
gcc/testsuite/g++.dg/modules/noheaderguard-1_b.C [new file with mode: 0644]
gcc/testsuite/g++.dg/modules/noheaderguard-1_c.C [new file with mode: 0644]
libcpp/files.c
libcpp/include/cpplib.h