summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/Threading.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/Threading.h b/llvm/include/llvm/Support/Threading.h
index 9804dd8aff6..387bf5e1b94 100644
--- a/llvm/include/llvm/Support/Threading.h
+++ b/llvm/include/llvm/Support/Threading.h
@@ -85,7 +85,7 @@ namespace llvm {
/// \endcode
///
/// \param flag Flag used for tracking whether or not this has run.
- /// \param UserFn Function to call once.
+ /// \param F Function to call once.
template <typename Function, typename... Args>
void call_once(once_flag &flag, Function &&F, Args &&... ArgList) {
#if LLVM_THREADING_USE_STD_CALL_ONCE
OpenPOWER on IntegriCloud