Home
last modified time | relevance | path

Searched refs:getNameKind (Results 1 – 25 of 25) sorted by relevance

/external/clang/include/clang/AST/
DDeclarationName.h109 if (getNameKind() >= CXXConstructorName && in getAsCXXSpecialName()
110 getNameKind() <= CXXConversionFunctionName) in getAsCXXSpecialName()
117 if (getNameKind() == CXXOperatorName) in getAsCXXOperatorIdName()
123 if (getNameKind() == CXXLiteralOperatorName) in getAsCXXLiteralOperatorIdName()
193 NameKind getNameKind() const;
449 assert(Name.getNameKind() == DeclarationName::CXXConstructorName || in getNamedTypeInfo()
450 Name.getNameKind() == DeclarationName::CXXDestructorName || in getNamedTypeInfo()
451 Name.getNameKind() == DeclarationName::CXXConversionFunctionName); in getNamedTypeInfo()
457 assert(Name.getNameKind() == DeclarationName::CXXConstructorName || in setNamedTypeInfo()
458 Name.getNameKind() == DeclarationName::CXXDestructorName || in setNamedTypeInfo()
[all …]
DRecursiveASTVisitor.h664 switch (NameInfo.getName().getNameKind()) { in TraverseDeclarationNameInfo()
/external/clang/lib/AST/
DDeclarationName.cpp81 if (LHS.getNameKind() != RHS.getNameKind()) in compare()
82 return (LHS.getNameKind() < RHS.getNameKind() ? -1 : 1); in compare()
84 switch (LHS.getNameKind()) { in compare()
165 DeclarationName::NameKind DeclarationName::getNameKind() const { in getNameKind() function in DeclarationName
215 switch (getNameKind()) { in printName()
309 switch (getNameKind()) { in getObjCSelector()
327 switch (getNameKind()) { in getFETokenInfoAsVoid()
348 switch (getNameKind()) { in setFETokenInfo()
491 switch (Name.getNameKind()) { in DeclarationNameLoc()
517 switch (Name.getNameKind()) { in containsUnexpandedParameterPack()
[all …]
DDeclCXX.cpp974 if (Shadow->getDeclName().getNameKind() in addedMember()
1602 assert(NameInfo.getName().getNameKind() in Create()
1749 assert(NameInfo.getName().getNameKind() in Create()
1773 assert(NameInfo.getName().getNameKind() in Create()
DDecl.cpp1685 assert(getDeclName().getNameKind() == DeclarationName::CXXOperatorName); in isReservedGlobalPlacementOperator()
2064 if (getDeclName().getNameKind() == DeclarationName::CXXOperatorName) in getOverloadedOperator()
2073 if (getDeclName().getNameKind() == DeclarationName::CXXLiteralOperatorName) in getLiteralIdentifier()
DMicrosoftMangle.cpp298 switch (Name.getNameKind()) { in mangleUnqualifiedName()
DASTImporter.cpp1778 switch (To.getName().getNameKind()) { in ImportDeclarationNameLoc()
4557 switch (FromName.getNameKind()) { in Import()
DItaniumMangle.cpp1057 switch (Name.getNameKind()) { in mangleUnqualifiedName()
DExpr.cpp167 if (D->getDeclName().getNameKind() in computeDeclRefDependence()
/external/clang/lib/Serialization/
DASTWriter.cpp2676 ID.AddInteger(Name.getNameKind()); in ComputeHash()
2678 switch (Name.getNameKind()) { in ComputeHash()
2707 switch (Name.getNameKind()) { in EmitKeyDataLength()
2736 assert(Name.getNameKind() < 0x100 && "Invalid name kind ?"); in EmitKey()
2737 Emit8(Out, Name.getNameKind()); in EmitKey()
2738 switch (Name.getNameKind()) { in EmitKey()
2817 if (Name.getNameKind() == DeclarationName::CXXConversionFunctionName) { in WriteDeclContextVisibleBlock()
3909 Record.push_back(Name.getNameKind()); in AddDeclarationName()
3910 switch (Name.getNameKind()) { in AddDeclarationName()
3943 switch (Name.getNameKind()) { in AddDeclarationNameLoc()
DASTWriterDecl.cpp196 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl()
254 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl()
277 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl()
700 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitVarDecl()
DASTReader.cpp640 Key.Kind = Name.getNameKind(); in GetInternalKey()
641 switch (Name.getNameKind()) { in GetInternalKey()
5764 switch (Name.getNameKind()) { in ReadDeclarationNameLoc()
DASTWriterStmt.cpp284 DeclarationName::NameKind nk = (E->getDecl()->getDeclName().getNameKind()); in VisitDeclRefExpr()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp260 switch (NameInfo.getName().getNameKind()) { in DiagnoseUnexpandedParameterPack()
DSemaLookup.cpp579 switch (Name.getNameKind()) { in isImplicitlyDeclaredMemberFunctionName()
602 switch (Name.getNameKind()) { in DeclareImplicitMemberFunctionsWithName()
669 if (R.getLookupName().getNameKind() in LookupDirect()
DSemaDecl.cpp3324 if ((Name.getNameKind() == DeclarationName::CXXConstructorName || in diagnoseQualifiedDeclaration()
3325 Name.getNameKind() == DeclarationName::CXXDestructorName) && in diagnoseQualifiedDeclaration()
4453 if (Name.getNameKind() == DeclarationName::CXXDestructorName) { in FindOverriddenMethod()
4766 if (Name.getNameKind() == DeclarationName::CXXConstructorName) { in CreateNewFunctionDecl()
4778 } else if (Name.getNameKind() == DeclarationName::CXXDestructorName) { in CreateNewFunctionDecl()
4814 } else if (Name.getNameKind() == DeclarationName::CXXConversionFunctionName) { in CreateNewFunctionDecl()
4969 if (Name.getNameKind() == DeclarationName::CXXDestructorName) { in ActOnFunctionDeclarator()
DSemaExprMember.cpp1415 MemberName.getNameKind() != DeclarationName::CXXDestructorName) { in LookupMemberExpr()
DSemaDeclCXX.cpp1510 if (Name.getNameKind() != DeclarationName::Identifier) { in ActOnCXXMemberDeclarator()
4770 assert(Name.getNameKind() == DeclarationName::Identifier); in FindHiddenVirtualMethod()
4806 if (MD->getDeclName().getNameKind() != DeclarationName::Identifier) in DiagnoseHiddenVirtualMethods()
6188 if (Shadow->getDeclName().getNameKind() == in HideUsingShadowDecl()
6291 if (NameInfo.getName().getNameKind() == DeclarationName::CXXConstructorName) { in BuildUsingDeclaration()
DSemaExpr.cpp1362 if (Name.getNameKind() == DeclarationName::CXXOperatorName || in DiagnoseEmptyLookup()
1363 Name.getNameKind() == DeclarationName::CXXLiteralOperatorName || in DiagnoseEmptyLookup()
1364 Name.getNameKind() == DeclarationName::CXXConversionFunctionName) { in DiagnoseEmptyLookup()
1600 if (Name.getNameKind() == DeclarationName::CXXConversionFunctionName && in ActOnIdExpression()
DSemaExprObjC.cpp1338 if (MemberName.getNameKind() != DeclarationName::Identifier) { in HandleExprPropertyRefExpr()
DSemaTemplateInstantiateDecl.cpp1859 if (NameInfo.getName().getNameKind() == DeclarationName::CXXConstructorName) { in VisitUsingDecl()
DTreeTransform.h2791 switch (Name.getNameKind()) { in TransformDeclarationNameInfo()
2822 = SemaRef.Context.DeclarationNames.getCXXSpecialName(Name.getNameKind(), in TransformDeclarationNameInfo()
DSemaCodeComplete.cpp2375 switch (Name.getNameKind()) { in AddTypedNameChunk()
DSemaOverload.cpp8101 Fn->getDeclName().getNameKind() == DeclarationName::CXXOperatorName) in DiagnoseArityMismatch()
/external/clang/tools/libclang/
DCIndex.cpp1133 switch (Name.getName().getNameKind()) { in VisitDeclarationNameInfo()
2346 const DeclarationName::NameKind Kind = NI.getName().getNameKind(); in buildPieces()