[all-commits] [llvm/llvm-project] 4ce34f: [HLSL] Disallow writing to readonly resources (#14...

Ashley Coleman via All-commits all-commits at lists.llvm.org
Fri Jul 11 15:30:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ce34f173866827b69b861c93112521516740bc7
      https://github.com/llvm/llvm-project/commit/4ce34f173866827b69b861c93112521516740bc7
  Author: Ashley Coleman <ascoleman at microsoft.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
    M clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.h
    M clang/test/AST/HLSL/StructuredBuffers-AST.hlsl
    M clang/test/AST/HLSL/TypedBuffers-AST.hlsl
    M clang/test/SemaHLSL/BuiltIns/Buffers.hlsl
    M clang/test/SemaHLSL/BuiltIns/StructuredBuffers.hlsl

  Log Message:
  -----------
  [HLSL] Disallow writing to readonly resources (#147806)

Fixes #141842 

Only add the non-const subscript operator to write resources



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