aaron.ballman added inline comments.
================ Comment at: clang-tidy/readability/OneNamePerDeclarationCheck.cpp:37-38 + const auto *DeclStatement = Result.Nodes.getNodeAs<DeclStmt>("declstmt"); + if (!DeclStatement) + return; + ---------------- Is there a case where this could happen? I would have imagined this as an `assert()`, if anything. https://reviews.llvm.org/D27621 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits