Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h926 enum class UnqualifiedIdKind { enum
957 UnqualifiedIdKind Kind;
1014 : Kind(UnqualifiedIdKind::IK_Identifier), Identifier(nullptr) {} in UnqualifiedId()
1019 Kind = UnqualifiedIdKind::IK_Identifier; in clear()
1032 UnqualifiedIdKind getKind() const { return Kind; } in getKind()
1033 void setKind(UnqualifiedIdKind kind) { Kind = kind; } in setKind()
1040 Kind = UnqualifiedIdKind::IK_Identifier; in setIdentifier()
1069 Kind = UnqualifiedIdKind::IK_ConversionFunctionId; in setConversionFunctionId()
1085 Kind = UnqualifiedIdKind::IK_LiteralOperatorId; in setLiteralOperatorId()
1101 Kind = UnqualifiedIdKind::IK_ConstructorName; in setConstructorName()
[all …]
/external/llvm-project/clang/lib/Parse/
DParseExprCXX.cpp296 if (TemplateName.getKind() != UnqualifiedIdKind::IK_OperatorFunctionId && in ParseOptionalCXXScopeSpecifier()
297 TemplateName.getKind() != UnqualifiedIdKind::IK_LiteralOperatorId) { in ParseOptionalCXXScopeSpecifier()
2343 case UnqualifiedIdKind::IK_Identifier: in ParseUnqualifiedIdTemplateId()
2344 case UnqualifiedIdKind::IK_OperatorFunctionId: in ParseUnqualifiedIdTemplateId()
2345 case UnqualifiedIdKind::IK_LiteralOperatorId: in ParseUnqualifiedIdTemplateId()
2375 if (Id.getKind() == UnqualifiedIdKind::IK_Identifier) in ParseUnqualifiedIdTemplateId()
2379 if (Id.getKind() == UnqualifiedIdKind::IK_OperatorFunctionId) in ParseUnqualifiedIdTemplateId()
2397 case UnqualifiedIdKind::IK_ConstructorName: { in ParseUnqualifiedIdTemplateId()
2410 case UnqualifiedIdKind::IK_DestructorName: { in ParseUnqualifiedIdTemplateId()
2448 if (Id.getKind() == UnqualifiedIdKind::IK_Identifier || in ParseUnqualifiedIdTemplateId()
[all …]
DParseTemplate.cpp298 UnqualifiedIdKind::IK_TemplateId) { in ParseSingleDeclarationAfterTemplate()
397 if (Result.getKind() != UnqualifiedIdKind::IK_Identifier) { in ParseConceptDefinition()
1347 TemplateName.getKind() == UnqualifiedIdKind::IK_Identifier in AnnotateTemplateIdToken()
1352 TemplateName.getKind() == UnqualifiedIdKind::IK_Identifier in AnnotateTemplateIdToken()
DParseDeclCXX.cpp744 D.Name.getKind() != UnqualifiedIdKind::IK_Identifier) { in ParseUsingDeclaration()
798 D.Name.getKind() == UnqualifiedIdKind::IK_TemplateId) in ParseAliasDeclarationAfterDeclarator()
818 if (D.Name.getKind() != UnqualifiedIdKind::IK_Identifier) { in ParseAliasDeclarationAfterDeclarator()
DParseDecl.cpp2245 if (D.getName().getKind() != UnqualifiedIdKind::IK_TemplateId) { in ParseDeclarationAfterDeclaratorAndAttributes()
/external/llvm-project/clang/lib/Sema/
DDeclSpec.cpp36 Kind = UnqualifiedIdKind::IK_TemplateId; in setTemplateId()
47 Kind = UnqualifiedIdKind::IK_ConstructorTemplateId; in setConstructorTemplateId()
413 (getName().Kind == UnqualifiedIdKind::IK_OperatorFunctionId && in isStaticMember()
419 return (getName().getKind() == UnqualifiedIdKind::IK_ConstructorName) || in isCtorOrDtor()
420 (getName().getKind() == UnqualifiedIdKind::IK_DestructorName); in isCtorOrDtor()
1443 Kind = UnqualifiedIdKind::IK_OperatorFunctionId; in setOperatorFunctionId()
DSemaType.cpp3156 if (D.getName().getKind() == UnqualifiedIdKind::IK_ConversionFunctionId) in diagnoseRedundantReturnTypeQualifiers()
3262 case UnqualifiedIdKind::IK_ImplicitSelfParam: in GetDeclSpecTypeForDeclarator()
3263 case UnqualifiedIdKind::IK_OperatorFunctionId: in GetDeclSpecTypeForDeclarator()
3264 case UnqualifiedIdKind::IK_Identifier: in GetDeclSpecTypeForDeclarator()
3265 case UnqualifiedIdKind::IK_LiteralOperatorId: in GetDeclSpecTypeForDeclarator()
3266 case UnqualifiedIdKind::IK_TemplateId: in GetDeclSpecTypeForDeclarator()
3276 case UnqualifiedIdKind::IK_ConstructorName: in GetDeclSpecTypeForDeclarator()
3277 case UnqualifiedIdKind::IK_ConstructorTemplateId: in GetDeclSpecTypeForDeclarator()
3278 case UnqualifiedIdKind::IK_DestructorName: in GetDeclSpecTypeForDeclarator()
3286 case UnqualifiedIdKind::IK_DeductionGuideName: in GetDeclSpecTypeForDeclarator()
[all …]
DSemaDecl.cpp5310 case UnqualifiedIdKind::IK_ImplicitSelfParam: in GetNameFromUnqualifiedId()
5311 case UnqualifiedIdKind::IK_Identifier: in GetNameFromUnqualifiedId()
5315 case UnqualifiedIdKind::IK_DeductionGuideName: { in GetNameFromUnqualifiedId()
5342 case UnqualifiedIdKind::IK_OperatorFunctionId: in GetNameFromUnqualifiedId()
5351 case UnqualifiedIdKind::IK_LiteralOperatorId: in GetNameFromUnqualifiedId()
5357 case UnqualifiedIdKind::IK_ConversionFunctionId: { in GetNameFromUnqualifiedId()
5368 case UnqualifiedIdKind::IK_ConstructorName: { in GetNameFromUnqualifiedId()
5379 case UnqualifiedIdKind::IK_ConstructorTemplateId: { in GetNameFromUnqualifiedId()
5401 case UnqualifiedIdKind::IK_DestructorName: { in GetNameFromUnqualifiedId()
5412 case UnqualifiedIdKind::IK_TemplateId: { in GetNameFromUnqualifiedId()
[all …]
DSemaDeclCXX.cpp3379 UnqualifiedIdKind::IK_TemplateId); in ActOnCXXMemberDeclarator()
11489 case UnqualifiedIdKind::IK_ImplicitSelfParam: in ActOnUsingDeclaration()
11490 case UnqualifiedIdKind::IK_Identifier: in ActOnUsingDeclaration()
11491 case UnqualifiedIdKind::IK_OperatorFunctionId: in ActOnUsingDeclaration()
11492 case UnqualifiedIdKind::IK_LiteralOperatorId: in ActOnUsingDeclaration()
11493 case UnqualifiedIdKind::IK_ConversionFunctionId: in ActOnUsingDeclaration()
11496 case UnqualifiedIdKind::IK_ConstructorName: in ActOnUsingDeclaration()
11497 case UnqualifiedIdKind::IK_ConstructorTemplateId: in ActOnUsingDeclaration()
11509 case UnqualifiedIdKind::IK_DestructorName: in ActOnUsingDeclaration()
11513 case UnqualifiedIdKind::IK_TemplateId: in ActOnUsingDeclaration()
[all …]
DSemaTemplate.cpp185 case UnqualifiedIdKind::IK_Identifier: in isTemplateName()
189 case UnqualifiedIdKind::IK_OperatorFunctionId: in isTemplateName()
194 case UnqualifiedIdKind::IK_LiteralOperatorId: in isTemplateName()
4263 assert(D.getName().getKind() == UnqualifiedIdKind::IK_TemplateId && in ActOnVarTemplateSpecialization()
4852 Name.getKind() == UnqualifiedIdKind::IK_Identifier && in ActOnTemplateName()
4902 case UnqualifiedIdKind::IK_Identifier: in ActOnTemplateName()
4907 case UnqualifiedIdKind::IK_OperatorFunctionId: in ActOnTemplateName()
4912 case UnqualifiedIdKind::IK_LiteralOperatorId: in ActOnTemplateName()
10065 if (D.getName().getKind() != UnqualifiedIdKind::IK_TemplateId) { in ActOnExplicitInstantiation()
10151 if (D.getName().getKind() == UnqualifiedIdKind::IK_TemplateId) { in ActOnExplicitInstantiation()
[all …]
DSemaExprCXX.cpp488 assert(Name.getKind() == UnqualifiedIdKind::IK_LiteralOperatorId); in checkLiteralOperatorId()
7452 assert((FirstTypeName.getKind() == UnqualifiedIdKind::IK_TemplateId || in ActOnPseudoDestructorExpr()
7453 FirstTypeName.getKind() == UnqualifiedIdKind::IK_Identifier) && in ActOnPseudoDestructorExpr()
7455 assert((SecondTypeName.getKind() == UnqualifiedIdKind::IK_TemplateId || in ActOnPseudoDestructorExpr()
7456 SecondTypeName.getKind() == UnqualifiedIdKind::IK_Identifier) && in ActOnPseudoDestructorExpr()
7478 if (SecondTypeName.getKind() == UnqualifiedIdKind::IK_Identifier) { in ActOnPseudoDestructorExpr()
7537 if (FirstTypeName.getKind() == UnqualifiedIdKind::IK_TemplateId || in ActOnPseudoDestructorExpr()
7539 if (FirstTypeName.getKind() == UnqualifiedIdKind::IK_Identifier) { in ActOnPseudoDestructorExpr()
DSemaExprMember.cpp1695 Id.getKind() == UnqualifiedIdKind::IK_ConstructorName) in ActOnMemberAccessExpr()
DSemaCodeComplete.cpp6302 if (Id.getKind() == UnqualifiedIdKind::IK_DestructorName) in CodeCompleteAfterFunctionEquals()
6306 if (Id.getKind() == UnqualifiedIdKind::IK_ConstructorName && in CodeCompleteAfterFunctionEquals()
6309 if (Id.getKind() == UnqualifiedIdKind::IK_OperatorFunctionId) { in CodeCompleteAfterFunctionEquals()
DSemaExpr.cpp2086 if (Id.getKind() == UnqualifiedIdKind::IK_TemplateId) { in DecomposeUnqualifiedId()
2478 (Id.getKind() == UnqualifiedIdKind::IK_ImplicitSelfParam) in ActOnIdExpression()
2656 if (Id.getKind() == UnqualifiedIdKind::IK_TemplateId && Id.TemplateId && in ActOnIdExpression()
2855 SelfName.setKind(UnqualifiedIdKind::IK_ImplicitSelfParam); in BuildIvarRefExpr()