clang
8.0.0
|
This class represents a description of a function call using the number of arguments and the name of the function. More...
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
Public Member Functions | |
CallDescription (ArrayRef< const char *> QualifiedName, unsigned RequiredArgs=NoArgRequirement) | |
Constructs a CallDescription object. More... | |
StringRef | getFunctionName () const |
Get the name of the function that this object matches. More... | |
Static Public Attributes | |
static const unsigned | NoArgRequirement = std::numeric_limits<unsigned>::max() |
This class represents a description of a function call using the number of arguments and the name of the function.
Definition at line 78 of file CallEvent.h.
|
inline |
Constructs a CallDescription object.
QualifiedName | The list of the name qualifiers of the function that will be matched. The user is allowed to skip any of the qualifiers. For example, {"std", "basic_string", "c_str"} would match both std::basic_string<...>::c_str() and std::__1::basic_string<...>::c_str(). |
RequiredArgs | The number of arguments that is expected to match a call. Omit this parameter to match every occurrence of call with a given name regardless the number of arguments. |
Definition at line 101 of file CallEvent.h.
|
inline |
Get the name of the function that this object matches.
Definition at line 106 of file CallEvent.h.
Referenced by clang::ento::CallEvent::isCalled().
|
static |
Definition at line 89 of file CallEvent.h.
Referenced by clang::ento::CallEvent::isCalled().