[all-commits] [llvm/llvm-project] 682668: [clang-doc] Always emit the TagType for RecordInfo
Paul Kirth via All-commits
all-commits at lists.llvm.org
Fri Aug 12 11:39:35 PDT 2022
Author: Brett Wilson <brettw at google.com>
Date: 2022-08-12 (Fri, 12 Aug 2022)
[clang-doc] Always emit the TagType for RecordInfo
Always emit the TagType for RecordInfo in YAML output. Previously this omitted the type for "struct", considering it the default. But records in C++ don't really have a default type so always emitting this is more clear.
Emit IsTypeDef in YAML. Previously this existed only in the Representation but was never written. Additionally, adds IsTypeDef to the record merge operation which was clearing it (all RecordInfo structures are merged with am empty RecordInfo during the reduce phase).
Reviewed By: paulkirth
Differential Revision: https://reviews.llvm.org/D131739
More information about the All-commits