[PATCH] D67647: [Consumed] Refactor handleCall to take function argument list. NFC.
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 17 13:44:10 PDT 2019
dblaikie added inline comments.
================
Comment at: lib/Analysis/Consumed.cpp:752
+ handleCall(Call, nullptr,
+ llvm::makeArrayRef(Call->getArgs(), Call->getNumArgs()),
+ FunDecl);
----------------
probably use "Call->arguments()" here & in the other places that need an range of the arguments? (& if that can be an ArrayRef - updating CallExpr's arguments() and the arg_range and const_arg_range to use/be ArrayRef would be good)
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67647/new/
https://reviews.llvm.org/D67647
More information about the cfe-commits
mailing list