[clang] [HLSL] Add HLSLResourceBindingAttr to default constant buffer numeric declarations ($Globals) (PR #128981)

Joshua Batista via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 27 11:32:31 PST 2025


================
@@ -1,41 +1,56 @@
-// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -ast-dump -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -finclude-default-header -ast-dump -o - %s | FileCheck %s
----------------
bob80905 wrote:

Can you explain why this default header is necessary for the test?

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


More information about the cfe-commits mailing list