[clang-doc] Read docstrings for record members
authorBrett Wilson <brettw@google.com>
Thu, 11 Aug 2022 17:11:23 +0000 (17:11 +0000)
committerPaul Kirth <paulkirth@google.com>
Thu, 11 Aug 2022 17:14:15 +0000 (17:14 +0000)
commit99baa10f8f01f5c054d259182b24ae04ae57101d
tree4218bb7f7f696170fa6cdbd20c217e297126dc4e
parentdacbddf56205f90e33d39575fc9d8455458d851e
[clang-doc] Read docstrings for record members

Struct/class data members did not have the comments associated with
them. This adds that information to the MemberTypeInfo class and emits
it in the YAML. This does not update the frontends yet.

Reviewed By: paulkirth

Differential Revision: https://reviews.llvm.org/D131298
clang-tools-extra/clang-doc/BitcodeReader.cpp
clang-tools-extra/clang-doc/BitcodeWriter.cpp
clang-tools-extra/clang-doc/Representation.h
clang-tools-extra/clang-doc/Serialize.cpp
clang-tools-extra/clang-doc/YAMLGenerator.cpp
clang-tools-extra/unittests/clang-doc/BitcodeTest.cpp
clang-tools-extra/unittests/clang-doc/ClangDocTest.cpp
clang-tools-extra/unittests/clang-doc/SerializeTest.cpp
clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp