[clang] Implement resource binding type prefix mismatch diagnostic infrastructure (PR #97103)

Damyan Pepper via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 14:28:49 PDT 2024


================
@@ -492,14 +999,21 @@ void SemaHLSL::handleResourceBindingAttr(Decl *D, const ParsedAttr &AL) {
   // Validate.
   if (!Slot.empty()) {
     switch (Slot[0]) {
----------------
damyanp wrote:

Can `getRegisterTypeIndex` be reused here?  Seems like there's more than one table of valid register types now.

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


More information about the cfe-commits mailing list