================ @@ -7333,12 +7333,12 @@ static void handleHLSLResourceBindingAttr(Sema &S, Decl *D, } else { Slot = Str; } - + QualType Ty = ((clang::ValueDecl *)D)->getType(); ---------------- bogner wrote:
LLVM avoids C-style casting. This would normally be spelled `QualType QT = cast<ValueDecl>(D)->getType();`. In any case, this variable doesn't look like it's used. https://github.com/llvm/llvm-project/pull/87578 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits