llvm-project/clang/utils
Dylan Fleming 846439dd97 [Flang] Generate documentation for compiler flags
This patch aims to create a webpage to document
Flang's command line options on https://flang.llvm.org/docs/
in a similar way to Clang's
https://clang.llvm.org/docs/ClangCommandLineReference.html

This is done by using clang_tablegen to generate an .rst
file from Options.td (which is current shared with Clang)
For this to work, ClangOptionDocEmitter.cpp was updated
to allow specific Flang flags to be included,
rather than bulk excluding clang flags.

Note:
Some headings in the generated documentation will incorrectly
contain references to Clang, e.g.
"Flags controlling the behaviour of Clang during compilation"
This is because Options.td (Which is shared between both Clang and Flang)
contains hard-coded DocBrief sections. I couldn't find a non-intrusive way
to make this target-dependant, as such I've left this as is, and it will need revisiting later.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D129864
2022-07-22 17:05:04 +00:00
..
ABITest
CIndex
ClangVisualizers
TableGen [Flang] Generate documentation for compiler flags 2022-07-22 17:05:04 +00:00
TestUtils Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
VtableTest
analyzer [analyzer] Evaluate construction of non-POD type arrays 2022-07-14 23:30:21 +02:00
check_cfc [NFC][clang]Inclusive language: remove remaining uses of sanity 2021-11-24 14:20:13 -05:00
hmaptool cmake: configure clang lit to use hmaptool from source directly 2022-06-16 13:08:50 +02:00
perf-training [cmake] Provide CURRENT_TOOLS_DIR centrally, replacing CLANG_TOOLS_DIR 2022-03-25 20:22:01 +01:00
valgrind
CaptureCmd
ClangDataFormat.py [clang][utils] Remove StringRef lldb summary provider 2022-02-03 15:16:31 -08:00
CmpDriver
FindSpecRefs
FuzzTest
bash-autocomplete.sh
builtin-defines.c
clangdiag.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
convert_arm_neon.py [NFC][clang] Inclusive language: replace master with main in convert_arm_neon.py 2021-11-16 10:11:06 -06:00
creduce-clang-crash.py [Utils] Add an option to specify number of cores to use in creduce-clang-crash.py 2021-02-22 12:43:09 -08:00
find-unused-diagnostics.sh
make-ast-dump-check.sh [clang] Use portable "#!/usr/bin/env bash" shebang for tools and utils. 2021-09-23 21:16:43 +05:30
modfuzz.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
module-deps-to-rsp.py [clang][deps] Update helper script documentation 2022-03-12 16:55:38 +01:00
token-delta.py