llvm-project/clang-tools-extra/clang-doc
Brett Wilson 21fb70c6ab [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).

Differential Revision: https://reviews.llvm.org/D134371
2022-10-14 14:59:29 -07:00
..
assets
tool [clang-doc] Fix assert on startup 2022-08-12 18:37:23 +00:00
BitcodeReader.cpp [clang-doc] Add typedef/using information. 2022-10-14 14:59:29 -07:00
BitcodeReader.h
BitcodeWriter.cpp [clang-doc] Add typedef/using information. 2022-10-14 14:59:29 -07:00
BitcodeWriter.h [clang-doc] Add typedef/using information. 2022-10-14 14:59:29 -07:00
CMakeLists.txt [openmp] Add missing dependencies for OMP.h.inc after d90443b 2020-06-23 11:48:04 -04:00
ClangDoc.cpp
ClangDoc.h fix typos in comments 2021-11-29 14:06:33 +01:00
Generators.cpp [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Generators.h [clangd] Add access specifier information to hover contents 2020-05-27 19:36:46 +02:00
HTMLGenerator.cpp [clang-doc] Add typedef/using information. 2022-10-14 14:59:29 -07:00
MDGenerator.cpp [clang-doc] Add typedef/using information. 2022-10-14 14:59:29 -07:00
Mapper.cpp [clang-doc] Add typedef/using information. 2022-10-14 14:59:29 -07:00
Mapper.h [clang-doc] Add typedef/using information. 2022-10-14 14:59:29 -07:00
Representation.cpp [clang-doc] Add typedef/using information. 2022-10-14 14:59:29 -07:00
Representation.h [clang-doc] Add typedef/using information. 2022-10-14 14:59:29 -07:00
Serialize.cpp [clang-doc] Add typedef/using information. 2022-10-14 14:59:29 -07:00
Serialize.h [clang-doc] Add typedef/using information. 2022-10-14 14:59:29 -07:00
YAMLGenerator.cpp [clang-doc] Add typedef/using information. 2022-10-14 14:59:29 -07:00