Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td504 let Read = [{ node->getKeyword() }];
588 let Read = [{ node->getKeyword() }];
746 let Read = [{ node->getKeyword() }];
885 let Read = [{ node->getKeyword() }];
H A DType.h6392 return getKeyword() == AutoTypeKeyword::DecltypeAuto;
6396 return getKeyword() == AutoTypeKeyword::GNUAutoType;
6399 AutoTypeKeyword getKeyword() const {
6716 ElaboratedTypeKeyword getKeyword() const {
6812 Profile(ID, getKeyword(), NNS, NamedType, getOwnedTagDecl());
6872 Profile(ID, getKeyword(), NNS, Name);
6919 Profile(ID, Context, getKeyword(), NNS, Name, template_arguments());
H A DTypeLoc.h2190 return getTypePtr()->getKeyword(); in getAutoKeyword()
2366 return getTypePtr()->getKeyword() == ElaboratedTypeKeyword::None && in isEmpty()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTypePrinter.cpp1294 switch (T->getKeyword()) { in printAutoBefore()
1678 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printElaboratedBefore()
1679 if (T->getKeyword() != ElaboratedTypeKeyword::None) in printElaboratedBefore()
1733 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printDependentNameBefore()
1734 if (T->getKeyword() != ElaboratedTypeKeyword::None) in printDependentNameBefore()
1750 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printDependentTemplateSpecializationBefore()
1751 if (T->getKeyword() != ElaboratedTypeKeyword::None) in printDependentTemplateSpecializationBefore()
H A DQualTypeNames.cpp448 Keyword = ETypeInput->getKeyword(); in getFullyQualifiedType()
H A DODRHash.cpp1015 ID.AddInteger((unsigned)T->getKeyword()); in VisitAutoType()
1205 ID.AddInteger(llvm::to_underlying(T->getKeyword())); in VisitTypeWithKeyword()
H A DType.cpp1277 return Ctx.getAutoType(deducedType, T->getKeyword(), in SUGARED_TYPE_CLASS()
3258 Keyword = Elab->getKeyword(); in isElaboratedTypeSpecifier()
3260 Keyword = DepName->getKeyword(); in isElaboratedTypeSpecifier()
3263 Keyword = DepTST->getKeyword(); in isElaboratedTypeSpecifier()
5095 Profile(ID, Context, getDeducedType(), getKeyword(), isDependentType(), in Profile()
H A DASTStructuralEquivalence.cpp1257 if (Elab1->getKeyword() != Elab2->getKeyword()) in IsStructurallyEquivalent()
H A DASTContext.cpp6258 return getQualifiedType(getAutoType(QualType(), AT->getKeyword(), in getUnconstrainedType()
13022 return X->getKeyword() == Y->getKeyword() ? X->getKeyword() in getCommonTypeKeyword()
13200 assert(AX->getKeyword() == AY->getKeyword()); in getCommonNonSugarTypeNode()
13205 return Ctx.getAutoType(QualType(), AX->getKeyword(), in getCommonNonSugarTypeNode()
13578 AutoTypeKeyword KW = AX->getKeyword(); in getCommonSugarTypeNode()
13579 if (KW != AY->getKeyword()) in getCommonSugarTypeNode()
13594 return Ctx.getAutoType(Ctx.getQualifiedType(Underlying), AX->getKeyword(), in getCommonSugarTypeNode()
H A DJSONNodeDumper.cpp785 switch (AT->getKeyword()) { in VisitAutoType()
H A DItaniumMangle.cpp4294 switch (T->getKeyword()) { in mangleType()
4395 assert(T->getKeyword() != AutoTypeKeyword::GNUAutoType && in mangleType()
H A DASTImporter.cpp1484 *ToDeducedTypeOrErr, T->getKeyword(), /*IsDependent*/false, in VisitAutoType()
1644 return Importer.getToContext().getElaboratedType(T->getKeyword(), in VisitElaboratedType()
1675 T->getKeyword(), *ToQualifierOrErr, ToName, ToPack); in VisitDependentTemplateSpecializationType()
1694 return Importer.getToContext().getDependentNameType(T->getKeyword(), in VisitDependentNameType()
H A DMicrosoftMangle.cpp2873 assert(AT->getKeyword() != AutoTypeKeyword::GNUAutoType && in mangleFunctionType()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h949 const char *getKeyword() const { in getKeyword() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp3146 (Auto && Auto->getKeyword() != AutoTypeKeyword::GNUAutoType); in GetDeclSpecTypeForDeclarator()
3167 Auto->getKeyword() != AutoTypeKeyword::Auto) { in GetDeclSpecTypeForDeclarator()
3179 Auto->getKeyword() == AutoTypeKeyword::Auto) { in GetDeclSpecTypeForDeclarator()
3182 } else if (!Auto || Auto->getKeyword() != AutoTypeKeyword::Auto) { in GetDeclSpecTypeForDeclarator()
3313 switch (Auto->getKeyword()) { in GetDeclSpecTypeForDeclarator()
4856 cast<AutoType>(T)->getKeyword() != in GetFullTypeForDeclarator()
5924 TL.setElaboratedKeywordLoc(T->getKeyword() != ElaboratedTypeKeyword::None in VisitElaboratedTypeLoc()
H A DTreeTransform.h5138 T = SemaRef.Context.getAutoType(Deduced, AutoTy->getKeyword(), in RebuildQualifiedType()
7133 Result = getDerived().RebuildAutoType(NewDeduced, T->getKeyword(), NewCD, in TransformAutoType()
7233 TL.getTypePtr()->getKeyword(), DTN->getQualifier(), in TransformDependentTemplateSpecializationType()
7292 if (T->getKeyword() != ElaboratedTypeKeyword::None && in TransformElaboratedType()
7293 T->getKeyword() != ElaboratedTypeKeyword::Typename) { in TransformElaboratedType()
7303 ElaboratedType::getTagTypeKindForKeyword(T->getKeyword())); in TransformElaboratedType()
7314 T->getKeyword(), in TransformElaboratedType()
7480 = getDerived().RebuildDependentNameType(T->getKeyword(), in TransformDependentNameType()
7540 T->getKeyword(), QualifierLoc, TL.getTemplateKeywordLoc(), in TransformDependentTemplateSpecializationType()
H A DSemaTemplateDeduction.cpp4938 Replacement, TL.getTypePtr()->getKeyword(), Replacement.isNull(), in TransformAutoType()
5092 << (int)AT->getKeyword() << getLangOpts().C23; in DeduceAutoType()
H A DSemaDecl.cpp12809 << (int)Deduced->getContainedAutoType()->getKeyword() in deduceVarTypeFromInitializer()
14789 << (AT ? (unsigned)AT->getKeyword() : 3) << Deduced in BuildDeclaratorGroup()
H A DSemaTemplate.cpp4961 if (ETLoc.getTypePtr()->getKeyword() != ElaboratedTypeKeyword::None) in convertTypeTemplateArgumentToTemplate()
H A DSemaDeclCXX.cpp11221 << llvm::to_underlying(ConvType->castAs<AutoType>()->getKeyword()) in ActOnConversionDeclarator()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp283 ElaboratedTypeKeyword Keyword = ET->getKeyword(); in getFragmentsForType()