[PATCH] D41934: [analyzer] Fix CXXNewExpr callback order.
Devin Coughlin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 12 17:04:52 PST 2018
dcoughlin accepted this revision.
dcoughlin added a comment.
This revision is now accepted and ready to land.
Looks great. It is nice to have this fixed and cleaned up!
================
Comment at: lib/StaticAnalyzer/Checkers/AnalysisOrderChecker.cpp:95
+ llvm::errs() << "PreCall";
+ if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Call.getDecl()))
+ llvm::errs() << " (" << ND->getQualifiedNameAsString() << ')';
----------------
Style nit: use auto for the casts.
Repository:
rC Clang
https://reviews.llvm.org/D41934
More information about the cfe-commits
mailing list