Commit 6199764f authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook GitHub Bot

fix some FOLLY_SAFE_CHECK docs

Summary: Fix some typos and expand some of the descriptions.

Differential Revision: D33959231

fbshipit-source-id: 70c7bb4f15757c75f28d00271af325b440da8e19
parent a32a7701
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
// FOLLY_SAFE_PCHECK // FOLLY_SAFE_PCHECK
// //
// Equivalent to FOLLY_SAFE_CHECK but includes errno in the context information // Equivalent to FOLLY_SAFE_CHECK but includes errno in the contextual
// printed to stderr. // information printed to stderr.
// //
// multi-thread-safe // multi-thread-safe
// async-signal-safe // async-signal-safe
...@@ -92,10 +92,10 @@ ...@@ -92,10 +92,10 @@
FOLLY_DETAIL_SAFE_CHECK_IMPL( \ FOLLY_DETAIL_SAFE_CHECK_IMPL( \
0, 1, (expr), FOLLY_PP_STRINGIZE(expr), __VA_ARGS__) 0, 1, (expr), FOLLY_PP_STRINGIZE(expr), __VA_ARGS__)
// FOLLY_SAFE_PCHECK // FOLLY_SAFE_DPCHECK
// //
// Equivalent to FOLLY_SAFE_CHECK but includes errno in the context information // Equivalent to FOLLY_SAFE_DCHECK but includes errno in the contextual
// printed to stderr. // information printed to stderr.
// //
// multi-thread-safe // multi-thread-safe
// async-signal-safe // async-signal-safe
...@@ -105,7 +105,8 @@ ...@@ -105,7 +105,8 @@
// FOLLY_SAFE_FATAL // FOLLY_SAFE_FATAL
// //
// Equivalent to FOLLY_SAFE_CHECK(false, ...) // Equivalent to FOLLY_SAFE_CHECK(false, ...) but excludes any failing
// expression from the contextual information printed to stderr.
// //
// multi-thread-safe // multi-thread-safe
// async-signal-safe // async-signal-safe
...@@ -114,7 +115,8 @@ ...@@ -114,7 +115,8 @@
// FOLLY_SAFE_DFATAL // FOLLY_SAFE_DFATAL
// //
// Equivalent to FOLLY_SAFE_DCHECK(false, ...) // Equivalent to FOLLY_SAFE_DCHECK(false, ...) but excludes any failing
// expression from the contextual information printed to stderr.
// //
// multi-thread-safe // multi-thread-safe
// async-signal-safe // async-signal-safe
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment