Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeProperties.td449 let Read = [{ node->getKeyword() }];
533 let Read = [{ node->getKeyword() }];
691 let Read = [{ node->getKeyword() }];
812 let Read = [{ node->getKeyword() }];
H A DType.h5150 return getKeyword() == AutoTypeKeyword::DecltypeAuto;
5154 return getKeyword() == AutoTypeKeyword::GNUAutoType;
5157 AutoTypeKeyword getKeyword() const {
5162 Profile(ID, Context, getDeducedType(), getKeyword(), isDependentType(),
5499 ElaboratedTypeKeyword getKeyword() const {
5598 Profile(ID, getKeyword(), NNS, NamedType, getOwnedTagDecl());
5658 Profile(ID, getKeyword(), NNS, Name);
5730 Profile(ID, Context, getKeyword(), NNS, Name, {getArgs(), getNumArgs()});
H A DTypeLoc.h2121 return getTypePtr()->getKeyword(); in getAutoKeyword()
/llvm-project-15.0.7/clang/lib/AST/
H A DTypePrinter.cpp1183 switch (T->getKeyword()) { in printAutoBefore()
1543 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printElaboratedBefore()
1544 if (T->getKeyword() != ETK_None) in printElaboratedBefore()
1581 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printDependentNameBefore()
1582 if (T->getKeyword() != ETK_None) in printDependentNameBefore()
1598 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printDependentTemplateSpecializationBefore()
1599 if (T->getKeyword() != ETK_None) in printDependentTemplateSpecializationBefore()
H A DQualTypeNames.cpp456 Keyword = ETypeInput->getKeyword(); in getFullyQualifiedType()
H A DODRHash.cpp860 ID.AddInteger((unsigned)T->getKeyword()); in VisitAutoType()
1069 ID.AddInteger(T->getKeyword()); in VisitTypeWithKeyword()
H A DType.cpp1188 return Ctx.getAutoType(deducedType, T->getKeyword(), in SUGARED_TYPE_CLASS()
2957 Keyword = Elab->getKeyword(); in isElaboratedTypeSpecifier()
2959 Keyword = DepName->getKeyword(); in isElaboratedTypeSpecifier()
2962 Keyword = DepTST->getKeyword(); in isElaboratedTypeSpecifier()
H A DASTStructuralEquivalence.cpp1101 if (Elab1->getKeyword() != Elab2->getKeyword()) in IsStructurallyEquivalent()
H A DJSONNodeDumper.cpp685 switch (AT->getKeyword()) { in VisitAutoType()
H A DItaniumMangle.cpp3903 switch (T->getKeyword()) { in mangleType()
3998 assert(T->getKeyword() != AutoTypeKeyword::GNUAutoType && in mangleType()
H A DASTImporter.cpp1442 *ToDeducedTypeOrErr, T->getKeyword(), /*IsDependent*/false, in VisitAutoType()
1590 return Importer.getToContext().getElaboratedType(T->getKeyword(), in VisitElaboratedType()
1622 T->getKeyword(), *ToQualifierOrErr, ToName, ToPack); in VisitDependentTemplateSpecializationType()
1641 return Importer.getToContext().getDependentNameType(T->getKeyword(), in VisitDependentNameType()
H A DMicrosoftMangle.cpp2637 assert(AT->getKeyword() != AutoTypeKeyword::GNUAutoType && in mangleFunctionType()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseTrailingReturnTypeCheck.cpp415 ((!AT->isConstrained() && AT->getKeyword() == AutoTypeKeyword::Auto && in check()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h933 const char *getKeyword() const { in getKeyword() function
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp229 ElaboratedTypeKeyword Keyword = ET->getKeyword(); in getFragmentsForType()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestDialect.cpp895 void ParseWrappedKeywordOp::print(OpAsmPrinter &p) { p << " " << getKeyword(); } in print()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp3454 (Auto && Auto->getKeyword() != AutoTypeKeyword::GNUAutoType); in GetDeclSpecTypeForDeclarator()
3475 Auto->getKeyword() != AutoTypeKeyword::Auto) { in GetDeclSpecTypeForDeclarator()
3487 Auto->getKeyword() != AutoTypeKeyword::Auto) { in GetDeclSpecTypeForDeclarator()
3609 switch (Auto->getKeyword()) { in GetDeclSpecTypeForDeclarator()
5096 cast<AutoType>(T)->getKeyword() != in GetFullTypeForDeclarator()
H A DTreeTransform.h4869 T = SemaRef.Context.getAutoType(Deduced, AutoTy->getKeyword(), in RebuildQualifiedType()
6659 Result = getDerived().RebuildAutoType(NewDeduced, T->getKeyword(), NewCD, in TransformAutoType()
6755 TL.getTypePtr()->getKeyword(), in TransformDependentTemplateSpecializationType()
6816 if (T->getKeyword() != ETK_None && T->getKeyword() != ETK_Typename) { in TransformElaboratedType()
6825 << ElaboratedType::getTagTypeKindForKeyword(T->getKeyword()); in TransformElaboratedType()
6836 T->getKeyword(), in TransformElaboratedType()
6963 = getDerived().RebuildDependentNameType(T->getKeyword(), in TransformDependentNameType()
7023 T->getKeyword(), QualifierLoc, TL.getTemplateKeywordLoc(), in TransformDependentTemplateSpecializationType()
H A DSemaTemplateDeduction.cpp4487 Replacement, TL.getTypePtr()->getKeyword(), Replacement.isNull(), in TransformAutoType()
H A DSemaTemplate.cpp5374 if (ETLoc.getTypePtr()->getKeyword() != ETK_None) in convertTypeTemplateArgumentToTemplate()
H A DSemaDecl.cpp14113 << (AT ? (unsigned)AT->getKeyword() : 3) << Deduced in BuildDeclaratorGroup()