[PATCH] D122798: [clang][extract-api][NFC] Add documentation

Daniel Grumberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 31 03:38:05 PDT 2022


dang created this revision.
dang added a reviewer: zixuw.
Herald added a project: All.
dang requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Add struct level documentation for MacroDefinitionRecord.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122798

Files:
  clang/include/clang/ExtractAPI/API.h


Index: clang/include/clang/ExtractAPI/API.h
===================================================================
--- clang/include/clang/ExtractAPI/API.h
+++ clang/include/clang/ExtractAPI/API.h
@@ -380,6 +380,7 @@
   virtual void anchor();
 };
 
+/// This holds information associated with macro definitions.
 struct MacroDefinitionRecord : APIRecord {
   MacroDefinitionRecord(StringRef Name, StringRef USR, PresumedLoc Loc,
                         DeclarationFragments Declaration,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122798.419387.patch
Type: text/x-patch
Size: 485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220331/f103e2ab/attachment.bin>


More information about the cfe-commits mailing list