[all-commits] [llvm/llvm-project] d0db54: [clang] Update test according to P1937

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Tue Mar 7 08:32:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0db54e0dd3272a044407a6394cae47c84cd3a70
      https://github.com/llvm/llvm-project/commit/d0db54e0dd3272a044407a6394cae47c84cd3a70
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2023-03-07 (Tue, 07 Mar 2023)

  Changed paths:
    M clang/test/CXX/expr/expr.const/p8-2a.cpp

  Log Message:
  -----------
  [clang] Update test according to P1937

https://wg21.link/p1937 proposes that in unevaluated contexts, consteval
functions should not be immediately evaluated.
Clang implemented p1937 a while ago, its behavior is correct and the
test needs an update.

Reviewed By: aaron.ballman, shafik

Differential Revision: https://reviews.llvm.org/D145362




More information about the All-commits mailing list