[all-commits] [llvm/llvm-project] 03127a: [clang][bytecode] Fix a diagnostic difference with...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Jun 4 05:13:24 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03127a03860b9d8cb440fe8f51c00647f45eb8be
      https://github.com/llvm/llvm-project/commit/03127a03860b9d8cb440fe8f51c00647f45eb8be
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-06-04 (Thu, 04 Jun 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.cpp
    M clang/test/AST/ByteCode/extern.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix a diagnostic difference with extern variables (#201369)

If the extern variable is constexpr of of non-array type, we should
diagnose it as missing an initializer. Otherwise, we diagose a read of
non-constexpr variable.



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