mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 07:09:08 +00:00
Threading.h: Give named parameters to llvm::call_once(flag,UserFn). [-Wdocumentation]
llvm-svn: 220941
This commit is contained in:
parent
38c0bf429c
commit
1369de85df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user