[clang-doc] Reduce duplicate code with template
authorPaul Kirth <paulkirth@google.com>
Tue, 19 Jul 2022 22:55:41 +0000 (22:55 +0000)
committerPaul Kirth <paulkirth@google.com>
Thu, 26 Jan 2023 18:05:31 +0000 (18:05 +0000)
commit9470de65bb33a18842d64ab2ab777902613ee014
tree8b9ba5f87486519890b744d99ce8d21ee9f4193f
parent6772966dcdf5175c517832c1b2352b4fcd1d6b16
[clang-doc] Reduce duplicate code with template

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D142564
clang-tools-extra/clang-doc/Representation.cpp