[PATCH] D101788: [AST] AnyCall: Implement arguments().

2021-05-03 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ added inline comments. Comment at: clang/include/clang/Analysis/AnyCall.h:170 + return {ME->getArgs(), ME->getNumArgs()}; +} else if (const auto *CE = dyn_cast(E)) { + return {CE->getArgs(), CE->getNumArgs()}; xazax.hun wrote: > As far as I reme

[PATCH] D101788: [AST] AnyCall: Implement arguments().

2021-05-03 Thread Gábor Horváth via Phabricator via cfe-commits
xazax.hun added inline comments. Comment at: clang/include/clang/Analysis/AnyCall.h:170 + return {ME->getArgs(), ME->getNumArgs()}; +} else if (const auto *CE = dyn_cast(E)) { + return {CE->getArgs(), CE->getNumArgs()}; As far as I remember `CXXMemb

[PATCH] D101788: [AST] AnyCall: Implement arguments().

2021-05-03 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ created this revision. NoQ added reviewers: vsavchenko, george.karpenkov, rjmccall. Herald added a subscriber: martong. NoQ requested review of this revision. AnyCall is an interface provided by libAnalysis to polymorphically handle various call-like entities (function calls, Obj-C message ex