[PATCH] D96975: [Sema] Add some basic lambda capture fix-its

Kirill Bobyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 8 05:00:55 PST 2021


kbobyrev added inline comments.


================
Comment at: clang/lib/Sema/SemaExpr.cpp:17447
+      if (RD->hasUserDeclaredCopyConstructor())
+        for (CXXConstructorDecl *Ctor : RD->ctors()) {
+          if (Ctor->isCopyConstructor())
----------------
(braces are not needed here, too)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96975



More information about the cfe-commits mailing list