diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-04-26 12:27:59 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-04-27 11:28:39 +0100 |
commit | afa69618d1627435841c9164b019ef98000e0365 (patch) | |
tree | d43593f892c74d6944dab7f0c680950ebfdf440c /gcc | |
parent | afcf2b09b8317d2777f44e830c3b8de1791312d5 (diff) | |
download | gcc-afa69618d1627435841c9164b019ef98000e0365.zip gcc-afa69618d1627435841c9164b019ef98000e0365.tar.gz gcc-afa69618d1627435841c9164b019ef98000e0365.tar.bz2 |
libstdc++: Reduce Doxygen output for PDF
Including the header source code in the doxygen-generated PDF file makes
it too large, and causes pdflatex to run out of memory. If we only set
SOURCE_BROWSER=YES for the HTML docs then we won't include the sources
in the PDF file.
There are several macros defined for std::valarray that are only used to
generate repetitive code and then #undef'd. Those aren't useful in the
doxygen docs, especially the ones that reuse the same name in different
files. Omitting them avoids warnings about duplicate labels in the
refman.tex file.
libstdc++-v3/ChangeLog:
* doc/doxygen/user.cfg.in (SOURCE_BROWSER): Only set to YES for
HTML docs.
* include/bits/gslice_array.h (_DEFINE_VALARRAY_OPERATOR): Omit
from doxygen docs.
* include/bits/indirect_array.h (_DEFINE_VALARRAY_OPERATOR):
Likewise.
* include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR):
Likewise.
* include/bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR):
Likewise.
* include/std/valarray (_DEFINE_VALARRAY_UNARY_OPERATOR)
(_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT)
(_DEFINE_VALARRAY_EXPR_AUGMENTED_ASSIGNMENT)
(_DEFINE_BINARY_OPERATOR): Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions