forked from OSchip/llvm-project
[AbstractCallSite] Fix some doxygen comments I failed to update when ImmutableCallSite was replaced with CallBase.
Also fix an 80 column violation.
This commit is contained in:
parent
f463792506
commit
cd28a4736a
|
@ -798,10 +798,11 @@ public:
|
|||
/// as well as the callee of the abstract call site.
|
||||
AbstractCallSite(const Use *U);
|
||||
|
||||
/// Add operand uses of \p ICS that represent callback uses into \p CBUses.
|
||||
/// Add operand uses of \p CB that represent callback uses into
|
||||
/// \p CallbackUses.
|
||||
///
|
||||
/// All uses added to \p CBUses can be used to create abstract call sites for
|
||||
/// which AbstractCallSite::isCallbackCall() will return true.
|
||||
/// All uses added to \p CallbackUses can be used to create abstract call
|
||||
/// sites for which AbstractCallSite::isCallbackCall() will return true.
|
||||
static void getCallbackUses(const CallBase &CB,
|
||||
SmallVectorImpl<const Use *> &CallbackUses);
|
||||
|
||||
|
|
|
@ -33,8 +33,8 @@ STATISTIC(NumInvalidAbstractCallSitesUnknownCallee,
|
|||
STATISTIC(NumInvalidAbstractCallSitesNoCallback,
|
||||
"Number of invalid abstract call sites created (no callback)");
|
||||
|
||||
void AbstractCallSite::getCallbackUses(const CallBase &CB,
|
||||
SmallVectorImpl<const Use *> &CallbackUses) {
|
||||
void AbstractCallSite::getCallbackUses(
|
||||
const CallBase &CB, SmallVectorImpl<const Use *> &CallbackUses) {
|
||||
const Function *Callee = CB.getCalledFunction();
|
||||
if (!Callee)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue