clang
9.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 (int Flags, ArrayRef< const char *> QualifiedName, Optional< unsigned > RequiredArgs=None) | |
Constructs a CallDescription object. More... | |
CallDescription (ArrayRef< const char *> QualifiedName, Optional< unsigned > RequiredArgs=None) | |
Construct a CallDescription with default flags. More... | |
StringRef | getFunctionName () const |
Get the name of the function that this object matches. More... | |
This class represents a description of a function call using the number of arguments and the name of the function.
Definition at line 1057 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 1079 of file CallEvent.h.
|
inline |
Construct a CallDescription with default flags.
Definition at line 1085 of file CallEvent.h.
|
inline |
Get the name of the function that this object matches.
Definition at line 1090 of file CallEvent.h.
Referenced by clang::ento::CallEvent::isCalled().