[all-commits] [llvm/llvm-project] ad49fe: [clang][Interp] Don't return success for already f...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Feb 23 05:05:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad49fe3e89c3b3950956548f14cdb5c159ba0aec
      https://github.com/llvm/llvm-project/commit/ad49fe3e89c3b3950956548f14cdb5c159ba0aec
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-02-23 (Fri, 23 Feb 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/SemaCXX/PR20334-std_initializer_list_diagnosis_assertion.cpp

  Log Message:
  -----------
  [clang][Interp] Don't return success for already failed global variables

We might be visiting them more than once. We used to return true for
second and subsequent cases, just because we had already visited it
before.



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