aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorBrett Wilson <brettw@google.com>2022-09-27 23:33:29 +0000
committerPaul Kirth <paulkirth@google.com>2022-09-27 23:35:16 +0000
commiteed22583fd78d4d657fb70b99e62fbdc1f83b8f9 (patch)
tree60d62ff5e4852dcd68a7bf96965fdb3bd636b8c1 /llvm/unittests/Support/CommandLineTest.cpp
parent0afc60858e1183344e0786eaa3b123f9faed185e (diff)
downloadllvm-eed22583fd78d4d657fb70b99e62fbdc1f83b8f9.zip
llvm-eed22583fd78d4d657fb70b99e62fbdc1f83b8f9.tar.gz
llvm-eed22583fd78d4d657fb70b99e62fbdc1f83b8f9.tar.bz2
[clang-doc] Add typedef/using information.
Read typedef and "using" type alias declarations and serialize into the internal structures. Emit this information in the YAML output. The HTML and MD generators are unchanged. Separate out the logic to create the parent namespace or record object and insert the newly created child into it. This logic was previously duplicated for every "info" type and is now shared. To help this, a struct containing the child vectors was separated out so children can be added generically and without having too many templates. A small change was made to populateParentNamespaces() to allow using types that aren't themselves DeclContexts (typedefs are the first example of this). Reviewed By: paulkirth, haowei Differential Revision: https://reviews.llvm.org/D134371
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions