george.karpenkov marked an inline comment as done. george.karpenkov added inline comments.
================ Comment at: clang/lib/StaticAnalyzer/Core/RetainSummaryManager.cpp:483-497 case CE_Function: Summ = getFunctionSummary(cast<SimpleFunctionCall>(Call).getDecl()); break; case CE_CXXMember: Summ = getFunctionSummary(cast<CXXMemberCall>(Call).getDecl()); break; case CE_CXXMemberOperator: ---------------- NoQ wrote: > It's actually just `Call.getDecl()` and you can turn this into a fall-through. Call.getDecl() returns a Decl (gotta love Obj-C methods!). I guess we can group all those cases, and cast the returned decl to FunctionDecl instead of casting the call. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D55076/new/ https://reviews.llvm.org/D55076 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits