[all-commits] [llvm/llvm-project] f1e367: [HLSL] error on out of bounds vector accesses (#12...

Sarah Spall via All-commits all-commits at lists.llvm.org
Tue Mar 11 07:12:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1e36759d2e6c26d2d5825f955c51fd595909b52
      https://github.com/llvm/llvm-project/commit/f1e36759d2e6c26d2d5825f955c51fd595909b52
  Author: Sarah Spall <sarahspall at microsoft.com>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGenCXX/x86_64-arguments.cpp
    A clang/test/SemaHLSL/Language/VectorOutOfRange-errors.hlsl

  Log Message:
  -----------
  [HLSL] error on out of bounds vector accesses (#128952)

Add Sema checking and diagnostics to error on out of bounds vector
accesses
Add tests
Closes #91640

---------

Co-authored-by: Chris B <beanz at abolishcrlf.org>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>



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