[all-commits] [llvm/llvm-project] f7a3a5: [clang] Add regression tests for narrowing with is...

Eli Friedman via All-commits all-commits at lists.llvm.org
Thu Jun 5 09:45:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7a3a5c5dc000baa448f1bc6df65601ad91782dd
      https://github.com/llvm/llvm-project/commit/f7a3a5c5dc000baa448f1bc6df65601ad91782dd
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M clang/test/SemaCXX/builtin-is-constant-evaluated.cpp

  Log Message:
  -----------
  [clang] Add regression tests for narrowing with is_constant_evaluated. (#142885)

As discussed in #142707, in the context of determining whether a
conversion is a narrowing conversion, is_constant_evaluation should be
false, even it's a subexpression of a manifestly constant-evaluated
expression.



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