forked from OSchip/llvm-project
[analyzer] Make it possible to query the function name from a CallDescription.
llvm-svn: 266293
This commit is contained in:
parent
4e7c6fdeeb
commit
217a98c0d1
|
@ -68,6 +68,9 @@ public:
|
|||
/// name regardless the number of arguments.
|
||||
CallDescription(StringRef FuncName, unsigned RequiredArgs = NoArgRequirement)
|
||||
: II(nullptr), FuncName(FuncName), RequiredArgs(RequiredArgs) {}
|
||||
|
||||
/// \brief Get the name of the function that this object matches.
|
||||
StringRef getFunctionName() const { return FuncName; }
|
||||
};
|
||||
|
||||
template<typename T = CallEvent>
|
||||
|
|
Loading…
Reference in New Issue