[PATCH] D139541: Fix parameter name in Sema::addInitCapture to ByRef.

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 7 09:10:34 PST 2022


shafik added inline comments.


================
Comment at: clang/lib/Sema/SemaLambda.cpp:892-894
+  LSI->addCapture(Var, /*isBlock*/ false, ByRef,
                   /*isNested*/ false, Var->getLocation(), SourceLocation(),
                   Var->getType(), /*Invalid*/ false);
----------------
This is the correct format for [burprone-argument-comment](https://clang.llvm.org/extra/clang-tidy/checks/bugprone/argument-comment.html)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139541



More information about the cfe-commits mailing list