[all-commits] [llvm/llvm-project] cb608c: [clang][bytecode] Properly diagnose non-const read...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Aug 29 04:45:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb608cc5f62baa01fe106a14ef41971337c2c030
      https://github.com/llvm/llvm-project/commit/cb608cc5f62baa01fe106a14ef41971337c2c030
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.cpp
    A clang/test/AST/ByteCode/cxx11-pedantic.cpp

  Log Message:
  -----------
  [clang][bytecode] Properly diagnose non-const reads (#106514)

If the global variable is constant (but not constexpr), we need to
diagnose, but keep evaluating.



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