[all-commits] [llvm/llvm-project] 862715: Revert "[Clang] Instantiate local constexpr functi...

Younan Zhang via All-commits all-commits at lists.llvm.org
Tue Jul 16 03:54:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 862715ea813d8ffa73050ada17567b45c41a1023
      https://github.com/llvm/llvm-project/commit/862715ea813d8ffa73050ada17567b45c41a1023
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/SemaTemplate/instantiate-local-class.cpp

  Log Message:
  -----------
  Revert "[Clang] Instantiate local constexpr functions eagerly (#95660)" (#98991)

Unfortunately, #95660 has caused a regression in DeduceReturnType(),
where some of the local recursive lambdas are getting incorrectly rejected.

This reverts commit 5548ea34341e9d0ae645719c34b466ca3b9eaa5a. Also, this
adds an offending case to the test.

Closes #98526



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list