[all-commits] [llvm/llvm-project] ef49ed: [clang][bytecode] Use bytecode interpreter in isPo...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Jul 18 22:19:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef49ed4829bc1b111e31a08d70b0ccae66427ebf
      https://github.com/llvm/llvm-project/commit/ef49ed4829bc1b111e31a08d70b0ccae66427ebf
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-07-19 (Sat, 19 Jul 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/Context.cpp
    M clang/lib/AST/ByteCode/Context.h
    M clang/lib/AST/ByteCode/EvalEmitter.cpp
    M clang/lib/AST/ByteCode/EvalEmitter.h
    M clang/lib/AST/ByteCode/Interp.cpp
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/AST/ByteCode/builtin-constant-p.cpp
    M clang/test/Sema/diagnose_if.c
    M clang/test/SemaCXX/diagnose_if-ext.cpp
    M clang/test/SemaCXX/diagnose_if.cpp

  Log Message:
  -----------
  [clang][bytecode] Use bytecode interpreter in isPotentialConstantExprU… (#149462)

…nevaluated

Fake a function call to the given function and evaluate the given
expression as if it was part of that function call.

Fixes #149383



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