add code coverage for dt_{with_{persistence,rc},modulo_persistence}
commitef1907312c309f93ba1847150442286bfa912b83
authorBill Fumerola <bill@fb.com>
Tue, 10 Mar 2020 21:34:37 +0000 (10 14:34 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 10 Mar 2020 22:08:07 +0000 (10 15:08 -0700)
treea29add343940fb89c79f31f33fd538a00ed47300
parent49f2e98bc18afde36b78c1b9ee41722b5ddc44e5
add code coverage for dt_{with_{persistence,rc},modulo_persistence}

Summary:
trivially covered via `static_assert`, so i added all the arraylike cases.

added `noexcept` to `folly::FormatValue` for `DataType{,Category}` as i was in the neighborhood.

Reviewed By: ricklavoie

Differential Revision: D20088132

fbshipit-source-id: 82cd8a003a3b701b35b0636680dc3c96754ccc32
hphp/runtime/base/datatype.cpp
hphp/runtime/base/datatype.h