Implement a small subset of the C++ `type_traits` header inside...
Implement a small subset of the C++ `type_traits` header inside sanitizer_common so we can avoid depending on system C++ headers. Summary: In particular we implement the `is_same<T,U>` templated type. This is useful for doing compile-time comparison of types in `static_assert`s. The plan is to use this in another patch ( https://reviews.llvm.org/D54904 ). Reviewers: kcc, dvyukov, vitalybuka, cryptoad, eugenis, kubamracek, george.karpenkov Subscribers: mgorny, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D54951 llvm-svn: 349077
Loading
Please sign in to comment