[PATCH] D130867: [clang] adds builtin `std::invoke` and `std::invoke_r`

Christopher Di Bella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 7 17:39:20 PDT 2022


cjdb added inline comments.


================
Comment at: clang/lib/Sema/SemaExprCXX.cpp:5726-5731
+  FirstArgType = S.BuiltinAddReference(
+      dyn_cast<TemplateSpecializationType>(
+          dyn_cast<ElaboratedType>(FirstArgType)->getNamedType())
+          ->getArg(0)
+          .getAsType(),
+      Sema::UTTKind::AddLvalueReference, {});
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130867



More information about the cfe-commits mailing list