Threading.h: Give named parameters to llvm::call_once(flag,UserFn). [-Wdocumentation]

llvm-svn: 220941
This commit is contained in:
NAKAMURA Takumi 2014-10-31 00:54:20 +00:00
parent 38c0bf429c
commit 1369de85df

View File

@ -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