[clang] [HLSL] Stop redeclaration of resources types in HLSLExternalSemaSource (PR #178808)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 30 11:57:58 PST 2026


=?utf-8?q?João?= Saffran <joaosaffranllvm at gmail.com>,
=?utf-8?q?João?= Saffran <joaosaffranllvm at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/178808 at github.com>


github-actions[bot] wrote:

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

* 85978 tests passed
* 1227 tests skipped
* 1 test failed

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

### Clang
<details>
<summary>Clang.CodeGenHLSL/resources-declared-only-once.hlsl</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -Wmissing-declarations --driver-mode=dxc -Zi -E CSMain -T cs_6_2   -enable-16bit-types -O3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources-declared-only-once.hlsl -Xclang -verify -DRES=RWBuffer
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -Wmissing-declarations --driver-mode=dxc -Zi -E CSMain -T cs_6_2 -enable-16bit-types -O3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenHLSL/resources-declared-only-once.hlsl -Xclang -verify -DRES=RWBuffer
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected: 
# |   (frontend): unable to create target: 'No available targets are compatible with triple "dxilv1.2-unknown-shadermodel6.2-compute"'
# | 1 error 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/178808


More information about the cfe-commits mailing list