[PATCH] D113793: Comment Sema: Run checks only when appropriate (NFC)

Aaron Puchert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 12 12:51:43 PST 2021


aaronpuchert added a comment.

Forget to run `clang-format`, will do this when I have to update or land.



================
Comment at: clang/lib/AST/CommentSema.cpp:628
 
-void Sema::checkBlockCommandDuplicate(const BlockCommandComment *Command) {
-  const CommandInfo *Info = Traits.getCommandInfo(Command->getCommandID());
+void Sema::checkBlockCommandDuplicate(const BlockCommandComment *Command, const BlockCommandComment *Sema::*LastOccurrence) {
   const BlockCommandComment *PrevCommand = nullptr;
----------------
If you'd be happier here with a regular pointer I don't mind.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113793/new/

https://reviews.llvm.org/D113793



More information about the cfe-commits mailing list