[clang] [HLSL] Add a warning for implicit bindings (PR #135909)
Joshua Batista via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 16 11:09:12 PDT 2025
================
@@ -1,12 +1,9 @@
-// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl \
-// RUN: -finclude-default-header -emit-pch -o %t %S/Inputs/pch.hlsl
-// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl \
-// RUN: -finclude-default-header -include-pch %t -ast-dump-all %s \
-// RUN: | FileCheck %s
+// RUN: %clang_cc1 -Wno-hlsl-implicit-binding -triple dxil-pc-shadermodel6.3-library -x hlsl -finclude-default-header -emit-pch -o %t %S/Inputs/pch.hlsl
+// RUN: %clang_cc1 -Wno-hlsl-implicit-binding -triple dxil-pc-shadermodel6.3-library -x hlsl -finclude-default-header -include-pch %t -ast-dump-all %s | FileCheck %s
----------------
bob80905 wrote:
Why add options here?
https://github.com/llvm/llvm-project/pull/135909
More information about the cfe-commits
mailing list