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

[Attributor][NFC] Improve documentation

This commit is contained in:
Johannes Doerfert 2020-02-11 11:19:34 -06:00
parent cda90fcba8
commit 5ec4b5827b

View File

@ -374,7 +374,8 @@ static Value *constructPointer(Type *ResTy, Value *Ptr, int64_t Offset,
/// will be done by looking through cast instructions, selects, phis, and calls /// will be done by looking through cast instructions, selects, phis, and calls
/// with the "returned" attribute. Once we cannot look through the value any /// with the "returned" attribute. Once we cannot look through the value any
/// further, the callback \p VisitValueCB is invoked and passed the current /// further, the callback \p VisitValueCB is invoked and passed the current
/// value, the \p State, and a flag to indicate if we stripped anything. To /// value, the \p State, and a flag to indicate if we stripped anything (=the
/// value used for the callback is not the value associated with \p IRP). To
/// limit how much effort is invested, we will never visit more values than /// limit how much effort is invested, we will never visit more values than
/// specified by \p MaxValues. /// specified by \p MaxValues.
template <typename AAType, typename StateTy> template <typename AAType, typename StateTy>