ΒΆbool isASafeCallArg(const clang::Expr* E)
bool isASafeCallArg(const clang::Expr* E)
Description
For \p E referring to a ref-countable/-counted pointer/reference we return whether it's a safe call argument. Examples: function parameter or this-pointer. The logic relies on the set of recursive rules we enforce for WebKit codebase.
Declared at: clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.h:62
Parameters
- const clang::Expr* E
Returns
Whether \p E is a safe call arugment.