1 | //===-- sanitizer_type_traits.cpp -------------------------------*- C++ -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | // |
9 | // Implements a subset of C++ type traits. This is so we can avoid depending |
10 | // on system C++ headers. |
11 | // |
12 | //===----------------------------------------------------------------------===// |
13 | #include "sanitizer_type_traits.h" |
14 | |
15 | namespace __sanitizer { |
16 | |
17 | const bool true_type::value; |
18 | const bool false_type::value; |
19 | |
20 | } // namespace __sanitizer |
21 | |