[all-commits] [llvm/llvm-project] c7ea4c: [clang][bytecode] Revisit global variables separat...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Jan 17 09:55:45 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7ea4c18afa84875ac22b2c98930c793eefd24b2
      https://github.com/llvm/llvm-project/commit/c7ea4c18afa84875ac22b2c98930c793eefd24b2
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/test/AST/ByteCode/cxx98.cpp

  Log Message:
  -----------
  [clang][bytecode] Revisit global variables separately (#123358)

Call `EvaluateAsInitializer()` explicitly here, so we don't abort the
evaluation of the `DeflRefExpr` just because the initializer of that
global variable failed.



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