Summary: That decl kind is currently not implemented. BuiltinTemplateDecl is for decls that are hardcoded in the ASTContext, so we can import them like we do other builtin decls by just taking the equivalent decl from the target ASTContext. Reviewers: martong, a.sidorin, shafik Reviewed By: martong, shafik Subscribers: rnkovacs, kristina, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D69566
17 lines
320 B
C++
17 lines
320 B
C++
template <class T, T... I>
|
|
struct Seq {
|
|
static constexpr T PackSize = sizeof...(I);
|
|
};
|
|
|
|
template <typename T, T N>
|
|
using MakeSeq = __make_integer_seq<Seq, T, N>;
|
|
|
|
|
|
using SizeT = decltype(sizeof(int));
|
|
|
|
template <SizeT i, typename ...T>
|
|
using TypePackElement = __type_pack_element<i, T...>;
|
|
|
|
template <int i>
|
|
struct X;
|