[PATCH] D56035: Provide storage for `true_type::value` and `false_type::value`.

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 8 16:29:49 PST 2019


vitalybuka added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_type_traits.cc:17
+namespace __sanitizer {
+const bool true_type::value;
+const bool false_type::value;
----------------
I guess we can avoid cc file if you use constexpr in the header file.


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56035/new/

https://reviews.llvm.org/D56035





More information about the llvm-commits mailing list