diff --git a/include/llvm/Support/Threading.h b/include/llvm/Support/Threading.h index 9804dd8aff6..387bf5e1b94 100644 --- a/include/llvm/Support/Threading.h +++ b/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 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) { #if LLVM_THREADING_USE_STD_CALL_ONCE