1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

[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:
Craig Topper 2020-04-17 17:07:19 -07:00
parent f5d3007f60
commit 98dab69d28
2 changed files with 6 additions and 5 deletions

View File

@ -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);

View File

@ -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;