This fixes linker errors that occurs when the
sanitizer_type_traits_test.cc is built without optimizations.
The error occurs because the test tries to take a reference.
A possible workaround is to give the GTest macros take boolean rvalues
by doing something like:
ASSERT_TRUE(bool(is_same<uptr, uptr>::value));
However this only hides the problem. Unfortunately Using constexpr
won't fix the problem unless we are using C++17.
I guess we can avoid cc file if you use constexpr in the header file.