aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectLog.cpp
diff options
context:
space:
mode:
authorDylan Fleming <Dylan.Fleming@arm.com>2022-07-22 16:40:50 +0000
committerDylan Fleming <Dylan.Fleming@arm.com>2022-07-22 17:05:04 +0000
commit846439dd97d45e0e08af14269708511646a9add1 (patch)
treea57ecac15d86d7a21bf2752ae6df5d380c6f5df5 /lldb/source/Commands/CommandObjectLog.cpp
parent5e2d5071ffd770ad8f15a57bfbf21e691a475629 (diff)
downloadllvm-846439dd97d45e0e08af14269708511646a9add1.zip
llvm-846439dd97d45e0e08af14269708511646a9add1.tar.gz
llvm-846439dd97d45e0e08af14269708511646a9add1.tar.bz2
[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
Diffstat (limited to 'lldb/source/Commands/CommandObjectLog.cpp')
0 files changed, 0 insertions, 0 deletions