summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-10-31 00:54:20 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-10-31 00:54:20 +0000
commitc158884726f6188c12ba3a19b2efb87bdfc7e4dd (patch)
tree6824ffe45d65e32d0fc26bc71ccd58a7c4cd8013
parentc73e402ad206a9033a5944d2ef33b6a10f027c6d (diff)
downloadbcm5719-llvm-c158884726f6188c12ba3a19b2efb87bdfc7e4dd.tar.gz
bcm5719-llvm-c158884726f6188c12ba3a19b2efb87bdfc7e4dd.zip
Threading.h: Give named parameters to llvm::call_once(flag,UserFn). [-Wdocumentation]
llvm-svn: 220941
-rw-r--r--llvm/include/llvm/Support/Threading.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/Threading.h b/llvm/include/llvm/Support/Threading.h
index d6d6da61f9e..74fe745f3bb 100644
--- a/llvm/include/llvm/Support/Threading.h
+++ b/llvm/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
OpenPOWER on IntegriCloud