Home
last modified time | relevance | path

Searched refs:ParameterPack (Results 1 – 21 of 21) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp840 NamedDecl *ParameterPack = nullptr; in ActOnSizeofParameterPackExpr() local
843 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
855 ParameterPack = Corrected.getCorrectionDecl(); in ActOnSizeofParameterPackExpr()
867 if (!ParameterPack || !ParameterPack->isParameterPack()) { in ActOnSizeofParameterPackExpr()
873 MarkAnyDeclReferenced(OpLoc, ParameterPack, true); in ActOnSizeofParameterPackExpr()
875 return SizeOfPackExpr::Create(Context, OpLoc, ParameterPack, NameLoc, in ActOnSizeofParameterPackExpr()
/external/clang/include/clang/AST/
DDeclTemplate.h1064 bool ParameterPack);
1154 bool ParameterPack;
1172 bool ParameterPack, TypeSourceInfo *TInfo)
1174 TemplateParmPosition(D, P), ParameterPack(ParameterPack),
1192 QualType T, bool ParameterPack, TypeSourceInfo *TInfo);
1253 bool isParameterPack() const { return ParameterPack; }
1261 return ParameterPack && getType()->getAs<PackExpansionType>();
1340 bool ParameterPack;
1351 unsigned D, unsigned P, bool ParameterPack,
1354 TemplateParmPosition(D, P), ParameterPack(ParameterPack),
[all …]
DType.h3910 unsigned ParameterPack : 1;
3937 CanTTPTInfo.ParameterPack = PP;
3950 bool isParameterPack() const { return getCanTTPTInfo().ParameterPack; }
3966 unsigned Index, bool ParameterPack,
3970 ID.AddBoolean(ParameterPack);
DASTContext.h1236 bool ParameterPack,
/external/llvm-project/clang/include/clang/AST/
DDeclTemplate.h1222 bool ParameterPack,
1397 bool ParameterPack;
1415 bool ParameterPack, TypeSourceInfo *TInfo)
1417 TemplateParmPosition(D, P), ParameterPack(ParameterPack) {}
1430 QualType T, bool ParameterPack, TypeSourceInfo *TInfo);
1493 bool isParameterPack() const { return ParameterPack; }
1501 return ParameterPack && getType()->getAs<PackExpansionType>();
1607 bool ParameterPack;
1618 unsigned D, unsigned P, bool ParameterPack,
1621 TemplateParmPosition(D, P), ParameterPack(ParameterPack) {}
[all …]
DType.h4761 unsigned ParameterPack : 1;
4787 CanTTPTInfo.ParameterPack = PP;
4798 bool isParameterPack() const { return getCanTTPTInfo().ParameterPack; }
4814 unsigned Index, bool ParameterPack,
4818 ID.AddBoolean(ParameterPack);
DASTContext.h1453 bool ParameterPack,
/external/llvm-project/clang/lib/Sema/
DSemaTemplateVariadic.cpp1014 NamedDecl *ParameterPack = nullptr; in ActOnSizeofParameterPackExpr() local
1017 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
1029 ParameterPack = Corrected.getCorrectionDecl(); in ActOnSizeofParameterPackExpr()
1042 if (!ParameterPack || !ParameterPack->isParameterPack()) { in ActOnSizeofParameterPackExpr()
1048 MarkAnyDeclReferenced(OpLoc, ParameterPack, true); in ActOnSizeofParameterPackExpr()
1050 return SizeOfPackExpr::Create(Context, OpLoc, ParameterPack, NameLoc, in ActOnSizeofParameterPackExpr()
/external/clang/lib/AST/
DDeclTemplate.cpp476 bool Typename, bool ParameterPack) { in Create() argument
479 QualType TTPType = C.getTemplateTypeParmType(D, P, ParameterPack, TTPDecl); in Create()
525 TemplateParmPosition(D, P), ParameterPack(true), in NonTypeTemplateParmDecl()
541 QualType T, bool ParameterPack, in Create() argument
544 T, ParameterPack, TInfo); in Create()
603 TemplateParmPosition(D, P), ParameterPack(true), in TemplateTemplateParmDecl()
613 bool ParameterPack, IdentifierInfo *Id, in Create() argument
615 return new (C, DC) TemplateTemplateParmDecl(DC, L, D, P, ParameterPack, Id, in Create()
DASTContext.cpp3340 bool ParameterPack, in getTemplateTypeParmType() argument
3343 TemplateTypeParmType::Profile(ID, Depth, Index, ParameterPack, TTPDecl); in getTemplateTypeParmType()
3352 QualType Canon = getTemplateTypeParmType(Depth, Index, ParameterPack); in getTemplateTypeParmType()
3361 TemplateTypeParmType(Depth, Index, ParameterPack); in getTemplateTypeParmType()
/external/llvm-project/clang/lib/AST/
DDeclTemplate.cpp595 bool Typename, bool ParameterPack, in Create() argument
603 QualType TTPType = C.getTemplateTypeParmType(D, P, ParameterPack, TTPDecl); in Create()
677 TemplateParmPosition(D, P), ParameterPack(true), in NonTypeTemplateParmDecl()
693 QualType T, bool ParameterPack, in Create() argument
701 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, ParameterPack, in Create()
769 TemplateParmPosition(D, P), ParameterPack(true), in TemplateTemplateParmDecl()
779 bool ParameterPack, IdentifierInfo *Id, in Create() argument
781 return new (C, DC) TemplateTemplateParmDecl(DC, L, D, P, ParameterPack, Id, in Create()
DASTContext.cpp4573 bool ParameterPack, in getTemplateTypeParmType() argument
4576 TemplateTypeParmType::Profile(ID, Depth, Index, ParameterPack, TTPDecl); in getTemplateTypeParmType()
4585 QualType Canon = getTemplateTypeParmType(Depth, Index, ParameterPack); in getTemplateTypeParmType()
4594 TemplateTypeParmType(Depth, Index, ParameterPack); in getTemplateTypeParmType()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-use-nodiscard.cpp152 bool ParameterPack(Args... args) const;
/external/llvm-project/clang/test/Modules/
Dodr_hash.cpp2036 ParameterPack<T> a; \
2037 ParameterPack<T, U> b; \
2038 ParameterPack<U> c; \
2039 ParameterPack<U, T> d;
2042 template <class ...Ts> struct ParameterPack {}; struct
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DIdentifierNamingCheck.cpp80 m(ParameterPack) \
/external/libcxxabi/src/demangle/
DItaniumDemangle.h62 X(ParameterPack) \
976 class ParameterPack final : public Node {
988 ParameterPack(NodeArray Data_) : Node(KParameterPack), Data(Data_) { in ParameterPack() function
5124 TableEntry = make<ParameterPack>(
/external/llvm-project/libcxxabi/src/demangle/
DItaniumDemangle.h65 X(ParameterPack) \
1065 class ParameterPack final : public Node {
1077 ParameterPack(NodeArray Data_) : Node(KParameterPack), Data(Data_) { in ParameterPack() function
5635 TableEntry = make<ParameterPack>(
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DItaniumDemangle.h65 X(ParameterPack) \
1063 class ParameterPack final : public Node {
1075 ParameterPack(NodeArray Data_) : Node(KParameterPack), Data(Data_) { in ParameterPack() function
5481 TableEntry = make<ParameterPack>(
/external/llvm-project/llvm/include/llvm/Demangle/
DItaniumDemangle.h65 X(ParameterPack) \
1065 class ParameterPack final : public Node {
1077 ParameterPack(NodeArray Data_) : Node(KParameterPack), Data(Data_) { in ParameterPack() function
5635 TableEntry = make<ParameterPack>(
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2189 D->ParameterPack = Record[Idx++]; in VisitNonTypeTemplateParmDecl()
2208 D->ParameterPack = Record[Idx++]; in VisitTemplateTemplateParmDecl()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp2384 D->ParameterPack = Record.readInt(); in VisitNonTypeTemplateParmDecl()
2402 D->ParameterPack = Record.readInt(); in VisitTemplateTemplateParmDecl()