[all-commits] [llvm/llvm-project] a024a0: [clang][bytecode] Override InConstantContext flag ...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Sep 25 07:47:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a024a0ceedae886c254b496c9321f9ef253cd7f8
      https://github.com/llvm/llvm-project/commit/a024a0ceedae886c254b496c9321f9ef253cd7f8
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-09-25 (Wed, 25 Sep 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.cpp
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/AST/ByteCode/InterpState.cpp
    M clang/lib/AST/ByteCode/InterpState.h
    M clang/test/CodeGenCXX/cxx2a-consteval.cpp

  Log Message:
  -----------
  [clang][bytecode] Override InConstantContext flag for immediate calls (#109967)

And fix the diagnostics for __builtin_is_constant_evaluated(). We can be
in a non-constant context, but calling an immediate function always
makes the context constant for the duration of that call.



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