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

Fix Wdocumentation warnings. NFCI.

This commit is contained in:
Simon Pilgrim 2020-01-07 10:52:08 +00:00
parent dd43b4ee29
commit 1e0278fea9

View File

@ -48,7 +48,7 @@ public:
/// A finalize callback knows about all objects that need finalization, e.g.
/// destruction, when the scope of the currently generated construct is left
/// at the time, and location, the callback is invoked.
using FinalizeCallbackTy = std::function<void(InsertPointTy /* CodeGenIP */)>;
using FinalizeCallbackTy = std::function<void(InsertPointTy CodeGenIP)>;
struct FinalizationInfo {
/// The finalization callback provided by the last in-flight invocation of
@ -88,9 +88,9 @@ public:
/// \param ContinuationBB is the basic block target to leave the body.
///
/// Note that all blocks pointed to by the arguments have terminators.
using BodyGenCallbackTy = function_ref<void(
InsertPointTy /* AllocaIP */, InsertPointTy /* CodeGenIP */,
BasicBlock & /* ContinuationBB */)>;
using BodyGenCallbackTy =
function_ref<void(InsertPointTy AllocaIP, InsertPointTy CodeGenIP,
BasicBlock &ContinuationBB)>;
/// Callback type for variable privatization (think copy & default
/// constructor).
@ -106,8 +106,8 @@ public:
/// \returns The new insertion point where code generation continues and
/// \p ReplVal the replacement of \p Val.
using PrivatizeCallbackTy = function_ref<InsertPointTy(
InsertPointTy /* AllocaIP */, InsertPointTy /* CodeGenIP */,
Value & /* Val */, Value *& /* ReplVal */)>;
InsertPointTy AllocaIP, InsertPointTy CodeGenIP, Value &Val,
Value *&ReplVal)>;
/// Description of a LLVM-IR insertion point (IP) and a debug/source location
/// (filename, line, column, ...).