================
@@ -218,6 +218,11 @@ void AvoidCStyleCastCheck::check(const 
MatchFinder::MatchResult &Result) {
       ReplaceWithNamedCast("static_cast");
     return;
   case CK_NoOp:
+  if 
(isa<CXXNullPtrLiteralExpr>(CastExpr->getSubExprAsWritten()->IgnoreImpCasts())) 
{
----------------
zeyi2 wrote:

Seems like a formatting issue? You can run `git clang-format HEAD~1` to fix it 
:)

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

Reply via email to