OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
107d779
)
Threading.h: Give named parameters to llvm::call_once(flag,UserFn). [-Wdocumentation]
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Fri, 31 Oct 2014 00:54:20 +0000
(
00:54
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Fri, 31 Oct 2014 00:54:20 +0000
(
00:54
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220941
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/Threading.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/Threading.h
b/include/llvm/Support/Threading.h
index
d6d6da6
..
74fe745
100644
(file)
--- 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