aaron.ballman accepted this revision. aaron.ballman added a comment. LGTM aside from a small nit.
================ Comment at: clang/lib/Sema/SemaType.cpp:7698 + llvm::APSInt &Result) { + Expr *AttrExpr = static_cast<Expr *>(Attr.getArgAsExpr(0)); + if (AttrExpr->isTypeDependent() || AttrExpr->isValueDependent() || ---------------- `const auto *` and you should use `cast<>` instead of `static_cast<>`. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D83550/new/ https://reviews.llvm.org/D83550 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits