[clang] [HLSL] Consistently quote resource attribute args (PR #214106)

via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 4 18:13:01 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 90657 tests passed
* 1754 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.SemaHLSL/Attributes/hlsl_resource_dimension_attr_error.hlsl</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/Attributes/hlsl_resource_dimension_attr_error.hlsl -verify
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -x hlsl -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/Attributes/hlsl_resource_dimension_attr_error.hlsl -verify
# .---command stderr------------
# | error: 'expected-error' diagnostics expected but not seen: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/Attributes/hlsl_resource_dimension_attr_error.hlsl Line 10 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/Attributes/hlsl_resource_dimension_attr_error.hlsl:9): 'hlsl::dimension' attribute requires a string
# | error: 'expected-error' diagnostics seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/Attributes/hlsl_resource_dimension_attr_error.hlsl Line 10: expected string literal as argument of 'dimension' attribute
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/214106


More information about the cfe-commits mailing list