[PATCH] D132906: [Clang] Fix lambda CheckForDefaultedFunction(...) so that it checks the CXXMethodDecl is a special member function before attempting to call DefineDefaultedFunction(...)

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 30 12:20:55 PDT 2022


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM aside from a minor test formatting nit. Please be sure to also write a release note for the fix.



================
Comment at: clang/test/SemaCXX/constant-expression-cxx2a.cpp:1478-1482
+class B{
+  virtual int constexpr f() = 0;
+};
+
+class D : B{
----------------



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

https://reviews.llvm.org/D132906



More information about the cfe-commits mailing list