[PATCH] D26301: [clang-tidy] Fix a regression issue introduced by r285239.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 7 11:25:36 PST 2016

alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.

Thank you for tracking and fixing this! One nit inline.

Comment at: clang-tidy/modernize/UseNullptrCheck.cpp:194
+    // Catch the castExpr inside cxxDefaultArgExpr.
+    if (CXXDefaultArgExpr *E = dyn_cast<CXXDefaultArgExpr>(S))
+      C = dyn_cast<CastExpr>(E->getExpr());
Use `auto *`.


More information about the cfe-commits mailing list