Home
last modified time | relevance | path

Searched refs:UnqualifiedIdKind (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1001 enum class UnqualifiedIdKind { enum
1031 UnqualifiedIdKind Kind;
1089 : Kind(UnqualifiedIdKind::IK_Identifier), Identifier(nullptr) {} in UnqualifiedId()
1094 Kind = UnqualifiedIdKind::IK_Identifier; in clear()
1107 UnqualifiedIdKind getKind() const { return Kind; } in getKind()
1114 Kind = UnqualifiedIdKind::IK_Identifier; in setIdentifier()
1143 Kind = UnqualifiedIdKind::IK_ConversionFunctionId; in setConversionFunctionId()
1159 Kind = UnqualifiedIdKind::IK_LiteralOperatorId; in setLiteralOperatorId()
1175 Kind = UnqualifiedIdKind::IK_ConstructorName; in setConstructorName()
1198 Kind = UnqualifiedIdKind::IK_DestructorName; in setDestructorName()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExprCXX.cpp330 if (TemplateName.getKind() != UnqualifiedIdKind::IK_OperatorFunctionId && in ParseOptionalCXXScopeSpecifier()
331 TemplateName.getKind() != UnqualifiedIdKind::IK_LiteralOperatorId) { in ParseOptionalCXXScopeSpecifier()
2542 case UnqualifiedIdKind::IK_Identifier: in ParseUnqualifiedIdTemplateId()
2543 case UnqualifiedIdKind::IK_OperatorFunctionId: in ParseUnqualifiedIdTemplateId()
2544 case UnqualifiedIdKind::IK_LiteralOperatorId: in ParseUnqualifiedIdTemplateId()
2574 if (Id.getKind() == UnqualifiedIdKind::IK_Identifier) in ParseUnqualifiedIdTemplateId()
2578 if (Id.getKind() == UnqualifiedIdKind::IK_OperatorFunctionId) in ParseUnqualifiedIdTemplateId()
2596 case UnqualifiedIdKind::IK_ConstructorName: { in ParseUnqualifiedIdTemplateId()
2609 case UnqualifiedIdKind::IK_DestructorName: { in ParseUnqualifiedIdTemplateId()
2647 if (Id.getKind() == UnqualifiedIdKind::IK_Identifier || in ParseUnqualifiedIdTemplateId()
[all …]
H A DParseTemplate.cpp314 if (Result.getKind() != UnqualifiedIdKind::IK_Identifier) { in ParseConceptDefinition()
1305 TemplateName.getKind() == UnqualifiedIdKind::IK_Identifier in AnnotateTemplateIdToken()
1310 TemplateName.getKind() == UnqualifiedIdKind::IK_Identifier in AnnotateTemplateIdToken()
H A DParseDeclCXX.cpp883 D.Name.getKind() != UnqualifiedIdKind::IK_Identifier) { in ParseUsingDeclaration()
939 D.Name.getKind() == UnqualifiedIdKind::IK_TemplateId) in ParseAliasDeclarationAfterDeclarator()
959 if (D.Name.getKind() != UnqualifiedIdKind::IK_Identifier) { in ParseAliasDeclarationAfterDeclarator()
H A DParseDecl.cpp2398 if (D.getName().getKind() != UnqualifiedIdKind::IK_TemplateId) { in ParseDeclGroup()
2739 if (D.getName().getKind() != UnqualifiedIdKind::IK_TemplateId) { in ParseDeclarationAfterDeclaratorAndAttributes()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp37 Kind = UnqualifiedIdKind::IK_TemplateId; in setTemplateId()
48 Kind = UnqualifiedIdKind::IK_ConstructorTemplateId; in setConstructorTemplateId()
420 (getName().getKind() == UnqualifiedIdKind::IK_OperatorFunctionId && in isStaticMember()
438 return (getName().getKind() == UnqualifiedIdKind::IK_ConstructorName) || in isCtorOrDtor()
439 (getName().getKind() == UnqualifiedIdKind::IK_DestructorName); in isCtorOrDtor()
1507 Kind = UnqualifiedIdKind::IK_OperatorFunctionId; in setOperatorFunctionId()
H A DSemaType.cpp2949 if (D.getName().getKind() == UnqualifiedIdKind::IK_ConversionFunctionId) in diagnoseRedundantReturnTypeQualifiers()
3083 case UnqualifiedIdKind::IK_ImplicitSelfParam: in GetDeclSpecTypeForDeclarator()
3084 case UnqualifiedIdKind::IK_OperatorFunctionId: in GetDeclSpecTypeForDeclarator()
3085 case UnqualifiedIdKind::IK_Identifier: in GetDeclSpecTypeForDeclarator()
3086 case UnqualifiedIdKind::IK_LiteralOperatorId: in GetDeclSpecTypeForDeclarator()
3087 case UnqualifiedIdKind::IK_TemplateId: in GetDeclSpecTypeForDeclarator()
3097 case UnqualifiedIdKind::IK_ConstructorName: in GetDeclSpecTypeForDeclarator()
3098 case UnqualifiedIdKind::IK_ConstructorTemplateId: in GetDeclSpecTypeForDeclarator()
3099 case UnqualifiedIdKind::IK_DestructorName: in GetDeclSpecTypeForDeclarator()
3107 case UnqualifiedIdKind::IK_DeductionGuideName: in GetDeclSpecTypeForDeclarator()
[all …]
H A DSemaDecl.cpp5777 case UnqualifiedIdKind::IK_ImplicitSelfParam: in GetNameFromUnqualifiedId()
5778 case UnqualifiedIdKind::IK_Identifier: in GetNameFromUnqualifiedId()
5782 case UnqualifiedIdKind::IK_DeductionGuideName: { in GetNameFromUnqualifiedId()
5809 case UnqualifiedIdKind::IK_OperatorFunctionId: in GetNameFromUnqualifiedId()
5816 case UnqualifiedIdKind::IK_LiteralOperatorId: in GetNameFromUnqualifiedId()
5822 case UnqualifiedIdKind::IK_ConversionFunctionId: { in GetNameFromUnqualifiedId()
5833 case UnqualifiedIdKind::IK_ConstructorName: { in GetNameFromUnqualifiedId()
5844 case UnqualifiedIdKind::IK_ConstructorTemplateId: { in GetNameFromUnqualifiedId()
5866 case UnqualifiedIdKind::IK_DestructorName: { in GetNameFromUnqualifiedId()
5877 case UnqualifiedIdKind::IK_TemplateId: { in GetNameFromUnqualifiedId()
[all …]
H A DSemaDeclCXX.cpp3463 if (D.getName().getKind() == UnqualifiedIdKind::IK_TemplateId) { in ActOnCXXMemberDeclarator()
3481 D.getName().getKind() == UnqualifiedIdKind::IK_TemplateId in ActOnCXXMemberDeclarator()
12208 case UnqualifiedIdKind::IK_ImplicitSelfParam: in ActOnUsingDeclaration()
12209 case UnqualifiedIdKind::IK_Identifier: in ActOnUsingDeclaration()
12210 case UnqualifiedIdKind::IK_OperatorFunctionId: in ActOnUsingDeclaration()
12211 case UnqualifiedIdKind::IK_LiteralOperatorId: in ActOnUsingDeclaration()
12212 case UnqualifiedIdKind::IK_ConversionFunctionId: in ActOnUsingDeclaration()
12215 case UnqualifiedIdKind::IK_ConstructorName: in ActOnUsingDeclaration()
12216 case UnqualifiedIdKind::IK_ConstructorTemplateId: in ActOnUsingDeclaration()
12228 case UnqualifiedIdKind in ActOnUsingDeclaration()
[all...]
H A DSemaTemplate.cpp192 case UnqualifiedIdKind::IK_Identifier: in isTemplateName()
196 case UnqualifiedIdKind::IK_OperatorFunctionId: in isTemplateName()
201 case UnqualifiedIdKind::IK_LiteralOperatorId: in isTemplateName()
3951 assert(D.getName().getKind() == UnqualifiedIdKind::IK_TemplateId && in ActOnVarTemplateSpecialization()
4533 Name.getKind() == UnqualifiedIdKind::IK_Identifier && in ActOnTemplateName()
4582 case UnqualifiedIdKind::IK_Identifier: in ActOnTemplateName()
4587 case UnqualifiedIdKind::IK_OperatorFunctionId: in ActOnTemplateName()
4592 case UnqualifiedIdKind::IK_LiteralOperatorId: in ActOnTemplateName()
9938 if (D.getName().getKind() != UnqualifiedIdKind::IK_TemplateId) { in ActOnExplicitInstantiation()
10032 if (D.getName().getKind() == UnqualifiedIdKind::IK_TemplateId) { in ActOnExplicitInstantiation()
[all …]
H A DSemaExprCXX.cpp496 assert(Name.getKind() == UnqualifiedIdKind::IK_LiteralOperatorId); in checkLiteralOperatorId()
8172 assert((FirstTypeName.getKind() == UnqualifiedIdKind::IK_TemplateId || in ActOnPseudoDestructorExpr()
8173 FirstTypeName.getKind() == UnqualifiedIdKind::IK_Identifier) && in ActOnPseudoDestructorExpr()
8175 assert((SecondTypeName.getKind() == UnqualifiedIdKind::IK_TemplateId || in ActOnPseudoDestructorExpr()
8176 SecondTypeName.getKind() == UnqualifiedIdKind::IK_Identifier) && in ActOnPseudoDestructorExpr()
8198 if (SecondTypeName.getKind() == UnqualifiedIdKind::IK_Identifier) { in ActOnPseudoDestructorExpr()
8257 if (FirstTypeName.getKind() == UnqualifiedIdKind::IK_TemplateId || in ActOnPseudoDestructorExpr()
8259 if (FirstTypeName.getKind() == UnqualifiedIdKind::IK_Identifier) { in ActOnPseudoDestructorExpr()
H A DSemaExprMember.cpp1756 Id.getKind() == UnqualifiedIdKind::IK_ConstructorName) in ActOnMemberAccessExpr()
H A DSemaCodeComplete.cpp7157 if (Id.getKind() == UnqualifiedIdKind::IK_DestructorName) in CodeCompleteAfterFunctionEquals()
7161 if (Id.getKind() == UnqualifiedIdKind::IK_ConstructorName && in CodeCompleteAfterFunctionEquals()
7164 if (Id.getKind() == UnqualifiedIdKind::IK_OperatorFunctionId) { in CodeCompleteAfterFunctionEquals()
H A DSemaExpr.cpp2324 if (Id.getKind() == UnqualifiedIdKind::IK_TemplateId) { in DecomposeUnqualifiedId()
2696 (Id.getKind() == UnqualifiedIdKind::IK_ImplicitSelfParam) in ActOnIdExpression()
2858 if (Id.getKind() == UnqualifiedIdKind::IK_TemplateId && Id.TemplateId && in ActOnIdExpression()