diff options
Diffstat (limited to 'clang/test/PCH/cxx-traits.h')
| -rw-r--r-- | clang/test/PCH/cxx-traits.h | 16 | 
1 files changed, 16 insertions, 0 deletions
| diff --git a/clang/test/PCH/cxx-traits.h b/clang/test/PCH/cxx-traits.h new file mode 100644 index 0000000..8b62002 --- /dev/null +++ b/clang/test/PCH/cxx-traits.h @@ -0,0 +1,16 @@ +// Header for PCH test cxx-traits.cpp + +template<typename _Tp> +struct __is_pod { +  enum { __value }; +}; + +template<typename _Tp> +struct __is_empty { +  enum { __value }; +}; + +template<typename T, typename ...Args> +struct is_trivially_constructible { +  static const bool value = __is_trivially_constructible(T, Args...); +}; | 
