[PATCH] D129488: [Sema] Fix evaluation context of immediate functions in default arguments

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 30 07:23:39 PDT 2022


ilya-biryukov updated this revision to Diff 456663.
ilya-biryukov added a comment.

- Special-case the std::source_location::current calls, delay until codegen


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129488

Files:
  clang/include/clang/Sema/Sema.h
  clang/lib/CodeGen/CGExprConstant.cpp
  clang/lib/Parse/ParseDeclCXX.cpp
  clang/lib/Parse/ParseStmt.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/lib/Sema/SemaTemplateInstantiate.cpp
  clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  clang/test/CodeGenCXX/builtin-source-location.cpp
  clang/test/SemaCXX/source_location.cpp
  clang/test/SemaCXX/source_location_consteval.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129488.456663.patch
Type: text/x-patch
Size: 18188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220830/1fed517a/attachment.bin>


More information about the cfe-commits mailing list