Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DTypeProperties.td453 let Read = [{ node->getKeyword() }];
537 let Read = [{ node->getKeyword() }];
695 let Read = [{ node->getKeyword() }];
826 let Read = [{ node->getKeyword() }];
H A DType.h5275 return getKeyword() == AutoTypeKeyword::DecltypeAuto;
5279 return getKeyword() == AutoTypeKeyword::GNUAutoType;
5282 AutoTypeKeyword getKeyword() const {
5601 ElaboratedTypeKeyword getKeyword() const {
5697 Profile(ID, getKeyword(), NNS, NamedType, getOwnedTagDecl());
5757 Profile(ID, getKeyword(), NNS, Name);
5805 Profile(ID, Context, getKeyword(), NNS, Name, template_arguments());
H A DTypeLoc.h2122 return getTypePtr()->getKeyword(); in getAutoKeyword()
2313 return getTypePtr()->getKeyword() == ElaboratedTypeKeyword::ETK_None && in isEmpty()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DTypePrinter.cpp1171 switch (T->getKeyword()) { in printAutoBefore()
1544 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printElaboratedBefore()
1545 if (T->getKeyword() != ETK_None) in printElaboratedBefore()
1582 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printDependentNameBefore()
1583 if (T->getKeyword() != ETK_None) in printDependentNameBefore()
1599 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printDependentTemplateSpecializationBefore()
1600 if (T->getKeyword() != ETK_None) in printDependentTemplateSpecializationBefore()
H A DQualTypeNames.cpp447 Keyword = ETypeInput->getKeyword(); in getFullyQualifiedType()
H A DODRHash.cpp1014 ID.AddInteger((unsigned)T->getKeyword()); in VisitAutoType()
1223 ID.AddInteger(T->getKeyword()); in VisitTypeWithKeyword()
H A DType.cpp1193 return Ctx.getAutoType(deducedType, T->getKeyword(), in SUGARED_TYPE_CLASS()
2964 Keyword = Elab->getKeyword(); in isElaboratedTypeSpecifier()
2966 Keyword = DepName->getKeyword(); in isElaboratedTypeSpecifier()
2969 Keyword = DepTST->getKeyword(); in isElaboratedTypeSpecifier()
4574 Profile(ID, Context, getDeducedType(), getKeyword(), isDependentType(), in Profile()
H A DASTStructuralEquivalence.cpp1152 if (Elab1->getKeyword() != Elab2->getKeyword()) in IsStructurallyEquivalent()
H A DASTContext.cpp12388 return X->getKeyword() == Y->getKeyword() ? X->getKeyword() in getCommonTypeKeyword()
12567 assert(AX->getKeyword() == AY->getKeyword()); in getCommonNonSugarTypeNode()
12572 return Ctx.getAutoType(QualType(), AX->getKeyword(), in getCommonNonSugarTypeNode()
12915 AutoTypeKeyword KW = AX->getKeyword(); in getCommonSugarTypeNode()
12916 if (KW != AY->getKeyword()) in getCommonSugarTypeNode()
12929 return Ctx.getAutoType(Ctx.getQualifiedType(Underlying), AX->getKeyword(), in getCommonSugarTypeNode()
H A DJSONNodeDumper.cpp708 switch (AT->getKeyword()) { in VisitAutoType()
H A DItaniumMangle.cpp3900 switch (T->getKeyword()) { in mangleType()
4001 assert(T->getKeyword() != AutoTypeKeyword::GNUAutoType && in mangleType()
H A DASTImporter.cpp1438 *ToDeducedTypeOrErr, T->getKeyword(), /*IsDependent*/false, in VisitAutoType()
1585 return Importer.getToContext().getElaboratedType(T->getKeyword(), in VisitElaboratedType()
1616 T->getKeyword(), *ToQualifierOrErr, ToName, ToPack); in VisitDependentTemplateSpecializationType()
1635 return Importer.getToContext().getDependentNameType(T->getKeyword(), in VisitDependentNameType()
H A DMicrosoftMangle.cpp2644 assert(AT->getKeyword() != AutoTypeKeyword::GNUAutoType && in mangleFunctionType()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h939 const char *getKeyword() const { in getKeyword() function
/openbsd-src/gnu/llvm/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp230 ElaboratedTypeKeyword Keyword = ET->getKeyword(); in getFragmentsForType()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaType.cpp3521 (Auto && Auto->getKeyword() != AutoTypeKeyword::GNUAutoType); in GetDeclSpecTypeForDeclarator()
3542 Auto->getKeyword() != AutoTypeKeyword::Auto) { in GetDeclSpecTypeForDeclarator()
3554 Auto->getKeyword() != AutoTypeKeyword::Auto) { in GetDeclSpecTypeForDeclarator()
3676 switch (Auto->getKeyword()) { in GetDeclSpecTypeForDeclarator()
5167 cast<AutoType>(T)->getKeyword() != in GetFullTypeForDeclarator()
6198 TL.setElaboratedKeywordLoc(T->getKeyword() != ETK_None in VisitElaboratedTypeLoc()
H A DTreeTransform.h4963 T = SemaRef.Context.getAutoType(Deduced, AutoTy->getKeyword(), in RebuildQualifiedType()
6774 Result = getDerived().RebuildAutoType(NewDeduced, T->getKeyword(), NewCD, in TransformAutoType()
6869 TL.getTypePtr()->getKeyword(), DTN->getQualifier(), in TransformDependentTemplateSpecializationType()
6928 if (T->getKeyword() != ETK_None && T->getKeyword() != ETK_Typename) { in TransformElaboratedType()
6937 << ElaboratedType::getTagTypeKindForKeyword(T->getKeyword()); in TransformElaboratedType()
6948 T->getKeyword(), in TransformElaboratedType()
7075 = getDerived().RebuildDependentNameType(T->getKeyword(), in TransformDependentNameType()
7135 T->getKeyword(), QualifierLoc, TL.getTemplateKeywordLoc(), in TransformDependentTemplateSpecializationType()
H A DSemaTemplateDeduction.cpp4600 Replacement, TL.getTypePtr()->getKeyword(), Replacement.isNull(), in TransformAutoType()
H A DSemaTemplate.cpp5483 if (ETLoc.getTypePtr()->getKeyword() != ETK_None) in convertTypeTemplateArgumentToTemplate()
H A DSemaDecl.cpp14503 << (AT ? (unsigned)AT->getKeyword() : 3) << Deduced in BuildDeclaratorGroup()