[PATCH] D132941: [DO NOT SUBMIT] [Sema] Delay evaluation of std::source_location::current() in default arguments

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 30 02:34:49 PDT 2022


cor3ntin added a comment.

I think this is superseded by https://cplusplus.github.io/CWG/issues/2631.html and its resolution.
Which I'm looking into implementing - I'll let you know if I manage to get it working (I still have a number of failing tests). 
The idea is the same though, we keep a rewritten Expr in `CXXDefaultArgExpr`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132941



More information about the cfe-commits mailing list