[all-commits] [llvm/llvm-project] 0f6240: [HLSL] Allow EmptyDecl in cbuffer/tbuffer (#128250)

Chris B via All-commits all-commits at lists.llvm.org
Wed Feb 26 06:29:47 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f6240c4ddc815283f7bd42fe80847295de4a92c
      https://github.com/llvm/llvm-project/commit/0f6240c4ddc815283f7bd42fe80847295de4a92c
  Author: Chris B <chris.bieneman at me.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M clang/lib/Parse/ParseHLSL.cpp
    M clang/test/SemaHLSL/cb_error.hlsl

  Log Message:
  -----------
  [HLSL] Allow EmptyDecl in cbuffer/tbuffer (#128250)

We do handle EmptyDecls in codegen already as of #124886, but we were
blocking them in Sema. EmptyDecls tend to be caused by extra semicolons
which are not illegal.

Fixes #128238



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