[all-commits] [llvm/llvm-project] ea1dee: [clang][Interp] Don't diagnose indexing arrays wit...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Aug 8 06:03:26 PDT 2024


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

  Changed paths:
    M clang/lib/AST/Interp/Interp.h
    M clang/test/AST/Interp/literals.cpp

  Log Message:
  -----------
  [clang][Interp] Don't diagnose indexing arrays with index 0 (#102454)

Even if the array is of unknown bounds, index 0 is fine.



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