diff options
| author | Dan Liew <dan@su-root.co.uk> | 2018-12-13 19:55:36 +0000 |
|---|---|---|
| committer | Dan Liew <dan@su-root.co.uk> | 2018-12-13 19:55:36 +0000 |
| commit | c2e2dd43f018b5c987572e03465472ccf146359c (patch) | |
| tree | e60bd8ed10b74f688bd302627801aaaa81e9f835 /llvm/test/Transforms/MemCpyOpt | |
| parent | 5a7056fa039d3fd5e241d7db8e44c063214ec4ca (diff) | |
| download | bcm5719-llvm-c2e2dd43f018b5c987572e03465472ccf146359c.tar.gz bcm5719-llvm-c2e2dd43f018b5c987572e03465472ccf146359c.zip | |
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
Diffstat (limited to 'llvm/test/Transforms/MemCpyOpt')
0 files changed, 0 insertions, 0 deletions

