summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
index 6568bd89068..e1e1d5a30f3 100644
--- a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+++ b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
@@ -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, ...).
OpenPOWER on IntegriCloud