Hi Alexander We’re still getting a green dragon failure on the null ptr check test. Mind taking a look?
http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA_check/10351/consoleFull#50560140149ba4694-19c4-4d7e-bec5-911270d8a58c <http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA_check/10351/consoleFull#50560140149ba4694-19c4-4d7e-bec5-911270d8a58c> Thanks Pete > On Aug 19, 2015, at 10:50 AM, Alexander Kornienko via cfe-commits > <cfe-commits@lists.llvm.org> wrote: > > Author: alexfh > Date: Wed Aug 19 12:50:22 2015 > New Revision: 245471 > > URL: > https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D245471-26view-3Drev&d=BQIGaQ&c=eEvniauFctOgLOKGJOplqw&r=03tkj3107244TlY4t3_hEgkDY-UG6gKwwK0wOUS3qjM&m=vEGzlOUc6IO5ny5JKNkJAUEoiokQ1N60GDcHk0yboKQ&s=wuoYp-wW8aBSkIHSX7igi7DHfur7JyIHWwnzHMTYdlg&e= > > Log: > [clang-tidy] Fix a bug in UseNullptrCheck. > > https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D12162&d=BQIGaQ&c=eEvniauFctOgLOKGJOplqw&r=03tkj3107244TlY4t3_hEgkDY-UG6gKwwK0wOUS3qjM&m=vEGzlOUc6IO5ny5JKNkJAUEoiokQ1N60GDcHk0yboKQ&s=YiXUYCqfOl7durvaPOdifn3l7_G0FJhlE4A_q5Q6xwM&e= > > > Patch by Angel Garcia! > > Modified: > clang-tools-extra/trunk/clang-tidy/modernize/UseNullptrCheck.cpp > > Modified: clang-tools-extra/trunk/clang-tidy/modernize/UseNullptrCheck.cpp > URL: > https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_clang-2Dtools-2Dextra_trunk_clang-2Dtidy_modernize_UseNullptrCheck.cpp-3Frev-3D245471-26r1-3D245470-26r2-3D245471-26view-3Ddiff&d=BQIGaQ&c=eEvniauFctOgLOKGJOplqw&r=03tkj3107244TlY4t3_hEgkDY-UG6gKwwK0wOUS3qjM&m=vEGzlOUc6IO5ny5JKNkJAUEoiokQ1N60GDcHk0yboKQ&s=4y-EkuMJJlcYjI15KrZY8VE3eGEhkvg9ScDcHtItY2g&e= > > ============================================================================== > --- clang-tools-extra/trunk/clang-tidy/modernize/UseNullptrCheck.cpp > (original) > +++ clang-tools-extra/trunk/clang-tidy/modernize/UseNullptrCheck.cpp Wed Aug > 19 12:50:22 2015 > @@ -175,10 +175,10 @@ private: > class CastSequenceVisitor : public RecursiveASTVisitor<CastSequenceVisitor> { > public: > CastSequenceVisitor(ASTContext &Context, > - SmallVector<StringRef, 1> UserNullMacros, > + ArrayRef<StringRef> UserNullMacros, > ClangTidyCheck &check) > : SM(Context.getSourceManager()), Context(Context), > - UserNullMacros(std::move(UserNullMacros)), Check(check), > + UserNullMacros(UserNullMacros), Check(check), > FirstSubExpr(nullptr), PruneSubtree(false) {} > > bool TraverseStmt(Stmt *S) { > @@ -435,7 +435,7 @@ private: > private: > SourceManager &SM; > ASTContext &Context; > - const SmallVector<StringRef, 1> &UserNullMacros; > + ArrayRef<StringRef> UserNullMacros; > ClangTidyCheck &Check; > Expr *FirstSubExpr; > bool PruneSubtree; > > > _______________________________________________ > cfe-commits mailing list > cfe-commits@lists.llvm.org > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.llvm.org_cgi-2Dbin_mailman_listinfo_cfe-2Dcommits&d=BQIGaQ&c=eEvniauFctOgLOKGJOplqw&r=03tkj3107244TlY4t3_hEgkDY-UG6gKwwK0wOUS3qjM&m=vEGzlOUc6IO5ny5JKNkJAUEoiokQ1N60GDcHk0yboKQ&s=UUHB6kbqbYNAr9eIu4oMQTKtxnQ37-xusL7D-UY0GR4&e= >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits