[clang] Implement resource binding type prefix mismatch flag setting logic (PR #97103)

Damyan Pepper via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 8 15:43:43 PDT 2024


================
@@ -437,7 +460,406 @@ void SemaHLSL::handleShaderAttr(Decl *D, const ParsedAttr &AL) {
     D->addAttr(NewAttr);
 }
 
+struct register_binding_flags {
+  bool resource = false;
----------------
damyanp wrote:

>From [what I can tell](https://llvm.org/docs/CodingStandards.html#name-types-functions-variables-and-enumerators-properly) this struct and the members of it should all use PascalCase.

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


More information about the cfe-commits mailing list