================
@@ -1189,6 +1190,24 @@ StyleKind IdentifierNamingCheck::findStyleKind(
         return SK_Enum;
     }
 
+    if (Decl->isStruct() && NamingStyles[SK_Struct])
----------------
vbvictor wrote:

If we go this way, please avoid duplication - make temp variable that will 
contain Definition or Decl and then check naming style once for it

https://github.com/llvm/llvm-project/pull/198517
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to