Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTypePrinter.cpp1339 switch (T->getKeyword()) { in printAutoBefore()
1726 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printElaboratedBefore()
1727 if (T->getKeyword() != ElaboratedTypeKeyword::None) in printElaboratedBefore()
1781 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printDependentNameBefore()
1782 if (T->getKeyword() != ElaboratedTypeKeyword::None) in printDependentNameBefore()
1798 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printDependentTemplateSpecializationBefore()
1799 if (T->getKeyword() != ElaboratedTypeKeyword::None) in printDependentTemplateSpecializationBefore()
H A DQualTypeNames.cpp456 Keyword = ETypeInput->getKeyword(); in getFullyQualifiedType()
H A DASTStructuralEquivalence.cpp1362 if (Elab1->getKeyword() != Elab2->getKeyword()) in IsStructurallyEquivalent()
1399 if (Spec1->getKeyword() != Spec2->getKeyword()) in IsStructurallyEquivalent()
H A DODRHash.cpp1043 ID.AddInteger((unsigned)T->getKeyword()); in VisitAutoType()
1233 ID.AddInteger(llvm::to_underlying(T->getKeyword())); in VisitTypeWithKeyword()
H A DTypeLoc.cpp552 T.setElaboratedKeywordLoc(T.getTypePtr()->getKeyword() != in initializeElaboratedKeyword()
H A DType.cpp1325 return Ctx.getAutoType(deducedType, T->getKeyword(), T->isDependentType(), in SUGARED_TYPE_CLASS()
3362 Keyword = Elab->getKeyword(); in isElaboratedTypeSpecifier()
3364 Keyword = DepName->getKeyword(); in isElaboratedTypeSpecifier()
3367 Keyword = DepTST->getKeyword(); in isElaboratedTypeSpecifier()
5395 Profile(ID, Context, getDeducedType(), getKeyword(), isDependentType(), in Profile()
H A DASTContext.cpp3743 return getElaboratedType(ET->getKeyword(), ET->getQualifier(), in adjustType()
6689 return getQualifiedType(getAutoType(QualType(), AT->getKeyword(), in getUnconstrainedType()
13682 return X->getKeyword() == Y->getKeyword() ? X->getKeyword() in getCommonTypeKeyword()
13794 T = Ctx.getDependentTemplateSpecializationType(DTST->getKeyword(), NewDTN, in getCommonNNS()
14001 assert(AX->getKeyword() == AY->getKeyword()); in getCommonNonSugarTypeNode()
14006 return Ctx.getAutoType(QualType(), AX->getKeyword(), in getCommonNonSugarTypeNode()
14385 AutoTypeKeyword KW = AX->getKeyword(); in getCommonSugarTypeNode()
14386 if (KW != AY->getKeyword()) in getCommonSugarTypeNode()
14401 return Ctx.getAutoType(Ctx.getQualifiedType(Underlying), AX->getKeyword(), in getCommonSugarTypeNode()
H A DMicrosoftMangle.cpp2966 assert(AT->getKeyword() != AutoTypeKeyword::GNUAutoType && in mangleFunctionType()
2977 assert(AT->getKeyword() != AutoTypeKeyword::GNUAutoType && in mangleFunctionType()
H A DItaniumMangle.cpp2200 DTST->getKeyword(), in manglePrefix()
4513 switch (T->getKeyword()) { in mangleType()
4610 assert(T->getKeyword() != AutoTypeKeyword::GNUAutoType && in mangleType()
H A DJSONNodeDumper.cpp787 switch (AT->getKeyword()) { in VisitAutoType()
H A DASTImporter.cpp1715 *ToDeducedTypeOrErr, T->getKeyword(), /*IsDependent*/false, in VisitAutoType()
1870 return Importer.getToContext().getElaboratedType(T->getKeyword(), in VisitElaboratedType()
1900 T->getKeyword(), in VisitDependentTemplateSpecializationType()
1913 return Importer.getToContext().getDependentNameType(T->getKeyword(), in VisitDependentNameType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td496 let Read = [{ node->getKeyword() }];
580 let Read = [{ node->getKeyword() }];
781 let Read = [{ node->getKeyword() }];
920 let Read = [{ node->getKeyword() }];
H A DType.h6761 return getKeyword() == AutoTypeKeyword::DecltypeAuto;
6765 return getKeyword() == AutoTypeKeyword::GNUAutoType;
6768 AutoTypeKeyword getKeyword() const {
7081 ElaboratedTypeKeyword getKeyword() const {
7176 Profile(ID, getKeyword(), NNS, NamedType, getOwnedTagDecl());
7236 Profile(ID, getKeyword(), NNS, Name);
7279 Profile(ID, Context, getKeyword(), Name, template_arguments());
H A DTypeLoc.h2246 return getTypePtr()->getKeyword(); in getAutoKeyword()
2422 return getTypePtr()->getKeyword() == ElaboratedTypeKeyword::None && in isEmpty()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h948 const char *getKeyword() const { in getKeyword() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp3198 (Auto && Auto->getKeyword() != AutoTypeKeyword::GNUAutoType); in GetDeclSpecTypeForDeclarator()
3219 Auto->getKeyword() != AutoTypeKeyword::Auto) { in GetDeclSpecTypeForDeclarator()
3231 Auto->getKeyword() == AutoTypeKeyword::Auto) { in GetDeclSpecTypeForDeclarator()
3234 } else if (!Auto || Auto->getKeyword() != AutoTypeKeyword::Auto) { in GetDeclSpecTypeForDeclarator()
3365 switch (Auto->getKeyword()) { in GetDeclSpecTypeForDeclarator()
3397 else if (Auto->getKeyword() == AutoTypeKeyword::Auto) in GetDeclSpecTypeForDeclarator()
4906 cast<AutoType>(T)->getKeyword() != in GetFullTypeForDeclarator()
6003 TL.setElaboratedKeywordLoc(T->getKeyword() != ElaboratedTypeKeyword::None in VisitElaboratedTypeLoc()
H A DTreeTransform.h5365 T = SemaRef.Context.getAutoType(Deduced, AutoTy->getKeyword(), in RebuildQualifiedType()
7367 Result = getDerived().RebuildAutoType(NewDeduced, T->getKeyword(), NewCD, in TransformAutoType()
7470 TL.getTypePtr()->getKeyword(), *DTN, NewTemplateArgs.arguments()); in TransformDependentTemplateSpecializationType()
7528 if (T->getKeyword() != ElaboratedTypeKeyword::None && in TransformElaboratedType()
7529 T->getKeyword() != ElaboratedTypeKeyword::Typename) { in TransformElaboratedType()
7538 << ElaboratedType::getTagTypeKindForKeyword(T->getKeyword()); in TransformElaboratedType()
7549 T->getKeyword(), in TransformElaboratedType()
7762 = getDerived().RebuildDependentNameType(T->getKeyword(), in TransformDependentNameType()
7838 T->getKeyword(), SS.getScopeRep(), TL.getTemplateKeywordLoc(), Name, in TransformDependentTemplateSpecializationType()
H A DSemaTemplateDeduction.cpp5052 Replacement, TL.getTypePtr()->getKeyword(), Replacement.isNull(), in TransformAutoType()
5205 << (int)AT->getKeyword() << getLangOpts().C23; in DeduceAutoType()
H A DSemaDecl.cpp13035 << (int)Deduced->getContainedAutoType()->getKeyword() in deduceVarTypeFromInitializer()
15177 << (AT ? (unsigned)AT->getKeyword() : 3) << Deduced in BuildDeclaratorGroup()
H A DSemaTemplate.cpp5342 if (ETLoc.getTypePtr()->getKeyword() != ElaboratedTypeKeyword::None) in convertTypeTemplateArgumentToTemplate()
H A DSemaDeclCXX.cpp11462 << ConvType->castAs<AutoType>()->getKeyword() in ActOnConversionDeclarator()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp289 ElaboratedTypeKeyword Keyword = ET->getKeyword(); in getFragmentsForType()