Home
last modified time | relevance | path

Searched refs:isPackExpansion (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/clang/include/clang/AST/
H A DLambdaCapture.h129 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion() function
134 assert(isPackExpansion() && "No ellipsis location for a non-expansion"); in getEllipsisLoc()
H A DStmtDataCollectors.td200 addData(C.isPackExpansion());
H A DAttr.h98 bool isPackExpansion() const { return IsPackExpansion; } in isPackExpansion() function
H A DDeclCXX.h206 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion() function
2307 bool isPackExpansion() const { in isPackExpansion() function
2313 if (!isPackExpansion()) in getEllipsisLoc()
3800 bool isPackExpansion() const { in isPackExpansion() function
3890 bool isPackExpansion() const { in isPackExpansion() function
H A DTemplateBase.h265 bool isPackExpansion() const;
H A DDeclTemplate.h1330 bool isPackExpansion() const {
1531 bool isPackExpansion() const {
1702 bool isPackExpansion() const {
H A DExprObjC.h278 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp119 if (Element.isPackExpansion()) in TraverseObjCDictionaryLiteral()
174 if (A->isPackExpansion()) in TraverseAttr()
191 if (D->isPackExpansion()) in TraverseUnresolvedUsingValueDecl()
199 if (D->isPackExpansion()) in TraverseUnresolvedUsingTypenameDecl()
207 if (Arg.isPackExpansion()) in TraverseTemplateArgument()
215 if (ArgLoc.getArgument().isPackExpansion()) in TraverseTemplateArgumentLoc()
223 if (Base.isPackExpansion()) in TraverseCXXBaseSpecifier()
231 if (Init->isPackExpansion()) in TraverseConstructorInitializer()
265 if (C->isPackExpansion()) in TraverseLambdaCapture()
1057 assert(Argument.isPackExpansion()); in getTemplateArgumentPackExpansionPattern()
[all …]
H A DSemaTemplateInstantiateDecl.cpp107 if (!Aligned->isPackExpansion()) { in instantiateDependentAlignedAttr()
810 assert(!TmplAttr->isPackExpansion()); in InstantiateAttrs()
2737 if (D->isPackExpansion() && !D->isExpandedParameterPack()) { in VisitTemplateTypeParmDecl()
2834 } else if (D->isPackExpansion()) { in VisitNonTypeTemplateParmDecl()
3000 } else if (D->isPackExpansion()) { in VisitTemplateTemplateParmDecl()
3272 if (D->isPackExpansion() && !InstantiatingPackElement) { in instantiateUnresolvedUsingDecl()
5628 if (Init->isPackExpansion()) { in InstantiateMemInitializers()
5865 OtherIsPackExpansion = OtherUUD->isPackExpansion(); in isInstantiationOfUnresolvedUsingDecl()
5876 return Pattern->isPackExpansion() == OtherIsPackExpansion && in isInstantiationOfUnresolvedUsingDecl()
H A DSemaTemplateInstantiate.cpp1227 if (Arg.isPackExpansion()) in getPackSubstitutedTemplateArgument()
1388 assert(Arg.pack_size() == 1 && Arg.pack_begin()->isPackExpansion() && in TransformTemplateName()
1461 assert(Arg.pack_size() == 1 && Arg.pack_begin()->isPackExpansion() && in TransformTemplateParmRefExpr()
1802 assert(Arg.pack_size() == 1 && Arg.pack_begin()->isPackExpansion() && in TransformTemplateTypeParmType()
2551 if (Base.isPackExpansion()) { in SubstBaseSpecifiers()
H A DSemaTemplateDeduction.cpp2201 if (A.isPackExpansion()) in DeduceTemplateArguments()
2322 if (A.isPackExpansion()) in hasPackExpansionBeforeEnd()
2350 if (!P.isPackExpansion()) { in DeduceTemplateArguments()
2362 if (As[ArgIdx].isPackExpansion()) in DeduceTemplateArguments()
2428 if (PackExpansionMatchesPack && X.isPackExpansion() && !Y.isPackExpansion()) in isSameTemplateArg()
5548 assert(Arg.pack_size() == 1 && Arg.pack_begin()->isPackExpansion()); in isTemplateTemplateParameterAtLeastAsSpecializedAs()
H A DSemaTemplate.cpp2786 if (!NewNonTypeParm->isPackExpansion()) in CheckTemplateParameterList()
2837 if (!NewTemplateParm->isPackExpansion()) in CheckTemplateParameterList()
4220 !Arg.pack_begin()->isPackExpansion()) in isSameAsPrimaryTemplate()
5779 NewArgs[ArgIdx].getArgument().isPackExpansion() && in CheckTemplateArgumentList()
5955 while (ArgIdx < NumArgs && NewArgs[ArgIdx].getArgument().isPackExpansion()) in CheckTemplateArgumentList()
H A DTreeTransform.h4586 if (In.getArgument().isPackExpansion()) { in TransformTemplateArguments()
13214 if (C->isPackExpansion()) { in TransformLambdaExpr()
13640 if (!Arg.isPackExpansion()) { in TransformSizeOfPackExpr()
13700 if (Loc.getArgument().isPackExpansion()) in TransformSizeOfPackExpr()
13951 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral()
H A DSemaDeclAttr.cpp4228 if (AL.isPackExpansion() && !E->containsUnexpandedParameterPack()) { in handleAlignedAttr()
4234 if (!AL.isPackExpansion() && S.DiagnoseUnexpandedParameterPack(E)) in handleAlignedAttr()
4237 S.AddAlignedAttr(D, AL, E, AL.isPackExpansion()); in handleAlignedAttr()
/llvm-project-15.0.7/clang/lib/AST/
H A DTemplateBase.cpp247 bool TemplateArgument::isPackExpansion() const { in isPackExpansion() function in TemplateArgument
395 assert(isPackExpansion()); in getPackExpansionPattern()
H A DDeclPrinter.cpp366 if (BMInitializer->isPackExpansion()) in PrintConstructorInitializers()
1035 if (Base->isPackExpansion()) in VisitCXXRecordDecl()
H A DStmtPrinter.cpp2163 if (C->isPackExpansion()) in VisitLambdaExpr()
2587 if (Element.isPackExpansion()) in VisitObjCDictionaryLiteral()
H A DJSONNodeDumper.cpp525 if (BS.isPackExpansion()) in createCXXBaseSpecifier()
H A DTextNodeDumper.cpp2076 if (I.isPackExpansion()) in VisitCXXRecordDecl()
H A DASTImporter.cpp1022 if (From.isPackExpansion()) in import()
2089 if (Base1.isPackExpansion()) { in ImportDefinition()
8639 ToAttr->setPackExpansion(FromAttr->isPackExpansion()); in importAttr()
9452 if (From->isPackExpansion()) in Import()
H A DItaniumMangle.cpp5297 if (Arg.isPackExpansion() && in needExactType()
H A DASTContext.cpp4873 if (Arg.isPackExpansion()) in hasAnyPackExpansions()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DParsedAttr.h487 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion() function
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp6701 EXPECT_EQ(From->isPackExpansion(), To->isPackExpansion()); in checkAttrImportCommon()
6772 EXPECT_EQ(FromAttr->isPackExpansion(), ToAttr->isPackExpansion()); in TEST_P()
6805 EXPECT_EQ(FromAttr->isPackExpansion(), ToAttr->isPackExpansion()); in TEST_P()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp5668 AddSourceLocation(Base.isPackExpansion()? Base.getEllipsisLoc() in AddCXXBaseSpecifier()
5792 AddSourceLocation(Capture.isPackExpansion() ? Capture.getEllipsisLoc() in AddCXXDefinitionData()

12