[all-commits] [llvm/llvm-project] 107fe0: [clang][bytecode] Fix a crash in CheckConstantExpr...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Mar 4 23:22:13 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 107fe0ec6cb36dca6bfafbfdf2996ce38d84e5bd
      https://github.com/llvm/llvm-project/commit/107fe0ec6cb36dca6bfafbfdf2996ce38d84e5bd
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-03-05 (Wed, 05 Mar 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Pointer.cpp
    M clang/test/AST/ByteCode/references.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix a crash in CheckConstantExpression (#129752)

The APValue we generated for a pointer with a LValueReferenceType base
had an incorrect lvalue path attached.

The attached test case is extracted from libc++'s regex.cpp.



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