A place for compiler hints
Summary: [Folly] A place for compiler hints in `folly/lang/Hint.h`. Add long-form names which explicitly reveal intentions: * `compiler_may_unsafely_assume` v.s. `assume` * `compiler_may_unsafely_assume_unreachable` v.s. `assume_unreachable` * `compiler_must_not_elide` v.s. `doNotOptimizeAway` * `compiler_must_not_predict` v.s. `makeUnpredictable` Reviewed By: Gownta Differential Revision: D20240392 fbshipit-source-id: 5f13fafc6a426fcd66fa61465eb1e2ffe15b4187
Showing
folly/lang/Hint-inl.h
0 → 100644
folly/lang/Hint.h
0 → 100644
Please register or sign in to comment