[clang] [HLSL][SPIRV] Add vk::constant_id attribute. (PR #143544)

Steven Perron via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 11 07:50:42 PDT 2025


================
@@ -213,7 +213,8 @@ getScopeFromNormalizedScopeName(StringRef ScopeName) {
       .Case("vk", AttributeCommonInfo::Scope::VK)
       .Case("msvc", AttributeCommonInfo::Scope::MSVC)
       .Case("omp", AttributeCommonInfo::Scope::OMP)
-      .Case("riscv", AttributeCommonInfo::Scope::RISCV);
+      .Case("riscv", AttributeCommonInfo::Scope::RISCV)
+      .Case("vk", AttributeCommonInfo::Scope::HLSL);
----------------
s-perron wrote:

I see you added the on above with a PR you merged last week. I was probably working on a branch that did not have your change, so I had to add my own. When I merged with the latest main, I did not get a merge conflict. I'll remove this change.

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


More information about the cfe-commits mailing list