[PATCH] D136554: Implement CWG2631

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 26 07:18:27 PDT 2022


cor3ntin added a comment.

This is working towards, but not yet fixing source_location.
Subsequent patches are needed https://github.com/llvm/llvm-project/issues/56379#issuecomment-1288213743



================
Comment at: clang/lib/Sema/SemaDeclCXX.cpp:15601
 
-ExprResult Sema::BuildCXXDefaultInitExpr(SourceLocation Loc, FieldDecl *Field) {
-  assert(Field->hasInClassInitializer());
----------------
Note: This was moved in the same file as `BuildCXXDefaultArgExpr` as they use some of the same utilities


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136554



More information about the cfe-commits mailing list