[PATCH] D98665: Correct Doxygen syntax for inline code

Aaron Puchert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 15 15:52:35 PDT 2021


aaronpuchert created this revision.
aaronpuchert added reviewers: george.karpenkov, gribozavr2.
Herald added subscribers: dexonsmith, martong.
Herald added a reviewer: aaron.ballman.
aaronpuchert requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.

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 <code>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98665

Files:
  clang/include/clang/Analysis/AnyCall.h
  clang/include/clang/Analysis/RetainSummaryManager.h
  clang/lib/Analysis/RetainSummaryManager.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp
  clang/lib/StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp
  clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
  clang/lib/StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp
  clang/lib/StaticAnalyzer/Core/BugReporter.cpp
  clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
  clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  llvm/include/llvm/Support/GraphWriter.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98665.330830.patch
Type: text/x-patch
Size: 12009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210315/3576d4bc/attachment-0001.bin>


More information about the cfe-commits mailing list