From 714a629ad80cc841fb14a476969b91d1545a37ce Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 31 Oct 2014 00:54:20 +0000 Subject: [PATCH] Threading.h: Give named parameters to llvm::call_once(flag,UserFn). [-Wdocumentation] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220941 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Threading.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/Support/Threading.h b/include/llvm/Support/Threading.h index d6d6da61f9e..74fe745f3bb 100644 --- a/include/llvm/Support/Threading.h +++ b/include/llvm/Support/Threading.h @@ -68,8 +68,7 @@ typedef volatile sys::cas_flag once_flag; /// /// \param flag Flag used for tracking whether or not this has run. /// \param UserFn Function to call once. -void call_once(once_flag&, void (*)(void)); - +void call_once(once_flag &flag, void (*UserFn)(void)); } #endif -- 2.34.1