From 1cb15b10ea370178871769929ff9690f461191fc Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Tue, 16 Mar 2021 15:17:43 +0100 Subject: Correct Doxygen syntax for inline code There is no syntax like {@code ...} in Doxygen, @code is a block command that ends with @endcode, and generally these are not enclosed in braces. The correct syntax for inline code snippets is @c . Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D98665 --- clang/lib/Analysis/RetainSummaryManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib/Analysis/RetainSummaryManager.cpp') diff --git a/clang/lib/Analysis/RetainSummaryManager.cpp b/clang/lib/Analysis/RetainSummaryManager.cpp index 00bc854..ecda47a6 100644 --- a/clang/lib/Analysis/RetainSummaryManager.cpp +++ b/clang/lib/Analysis/RetainSummaryManager.cpp @@ -881,8 +881,8 @@ RetainSummaryManager::getRetEffectFromAnnotations(QualType RetTy, return None; } -/// \return Whether the chain of typedefs starting from {@code QT} -/// has a typedef with a given name {@code Name}. +/// \return Whether the chain of typedefs starting from @c QT +/// has a typedef with a given name @c Name. static bool hasTypedefNamed(QualType QT, StringRef Name) { while (auto *T = dyn_cast(QT)) { -- cgit v1.1