Home
last modified time | relevance | path

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

123

/external/clang/include/clang/AST/
DDeclarationName.h119 NameKind Kind = getNameKind(); in getAsCXXSpecialName()
127 if (getNameKind() == CXXOperatorName) in getAsCXXOperatorIdName()
133 if (getNameKind() == CXXLiteralOperatorName) in getAsCXXLiteralOperatorIdName()
208 NameKind getNameKind() const;
267 assert((getNameKind() == ObjCZeroArgSelector || in getObjCSelector()
268 getNameKind() == ObjCOneArgSelector || in getObjCSelector()
269 getNameKind() == ObjCMultiArgSelector || in getObjCSelector()
470 assert(Name.getNameKind() == DeclarationName::CXXConstructorName || in getNamedTypeInfo()
471 Name.getNameKind() == DeclarationName::CXXDestructorName || in getNamedTypeInfo()
472 Name.getNameKind() == DeclarationName::CXXConversionFunctionName); in getNamedTypeInfo()
[all …]
/external/llvm-project/clang/lib/AST/
DDeclarationName.cpp47 if (LHS.getNameKind() != RHS.getNameKind()) in compare()
48 return (LHS.getNameKind() < RHS.getNameKind() ? -1 : 1); in compare()
50 switch (LHS.getNameKind()) { in compare()
68 if (LHS.getNameKind() == DeclarationName::ObjCZeroArgSelector && in compare()
69 RHS.getNameKind() == DeclarationName::ObjCZeroArgSelector) { in compare()
140 switch (getNameKind()) { in print()
243 switch (getNameKind()) { in getFETokenInfoSlow()
262 switch (getNameKind()) { in setFETokenInfoSlow()
388 switch (Name.getNameKind()) { in DeclarationNameLoc()
415 switch (Name.getNameKind()) { in containsUnexpandedParameterPack()
[all …]
DDeclCXX.cpp1361 if (Shadow->getDeclName().getNameKind() in addedMember()
1369 if (Using->getDeclName().getNameKind() == in addedMember()
2609 assert(NameInfo.getName().getNameKind() in Create()
2743 assert(NameInfo.getName().getNameKind() in Create()
2777 assert(NameInfo.getName().getNameKind() in Create()
DASTStructuralEquivalence.cpp113 if (Name1.getNameKind() != Name2.getNameKind()) in IsStructurallyEquivalent()
116 switch (Name1.getNameKind()) { in IsStructurallyEquivalent()
DDecl.cpp3038 assert(getDeclName().getNameKind() == DeclarationName::CXXOperatorName); in isReservedGlobalPlacementOperator()
3062 if (getDeclName().getNameKind() != DeclarationName::CXXOperatorName) in isReplaceableGlobalAllocationFunction()
3585 if (getDeclName().getNameKind() == DeclarationName::CXXOperatorName) in getOverloadedOperator()
3594 if (getDeclName().getNameKind() == DeclarationName::CXXLiteralOperatorName) in getLiteralIdentifier()
DComputeDependence.cpp442 if (Decl->getDeclName().getNameKind() == in computeDependence()
DODRHash.cpp60 auto Kind = Name.getNameKind(); in AddDeclarationNameImpl()
/external/llvm-project/clang/include/clang/AST/
DDeclarationName.h328 assert(getNameKind() == CXXDeductionGuideName && in castAsCXXDeductionGuideNameExtra()
336 assert(getNameKind() == CXXLiteralOperatorName && in castAsCXXLiteralOperatorIdName()
384 NameKind getNameKind() const { in getNameKind() function
452 if (getNameKind() == CXXDeductionGuideName) { in getCXXDeductionGuideTemplate()
473 if (getNameKind() == CXXLiteralOperatorName) { in getCXXLiteralIdentifier()
482 assert((getNameKind() == ObjCZeroArgSelector || in getObjCSelector()
483 getNameKind() == ObjCOneArgSelector || in getObjCSelector()
484 getNameKind() == ObjCMultiArgSelector || !getPtr()) && in getObjCSelector()
731 if (Name.getNameKind() != DeclarationName::CXXConstructorName && in getNamedTypeInfo()
732 Name.getNameKind() != DeclarationName::CXXDestructorName && in getNamedTypeInfo()
[all …]
DPropertiesBase.td242 "node.getNameKind()">;
/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()
157 switch (N.getNameKind()) { in print()
227 DeclarationName::NameKind DeclarationName::getNameKind() const { in getNameKind() function in DeclarationName
301 switch (getNameKind()) { in getFETokenInfoAsVoidSlow()
322 switch (getNameKind()) { in setFETokenInfo()
473 switch (Name.getNameKind()) { in DeclarationNameLoc()
499 switch (Name.getNameKind()) { in containsUnexpandedParameterPack()
521 switch (Name.getNameKind()) { in isInstantiationDependent()
[all …]
DDeclCXX.cpp972 if (Shadow->getDeclName().getNameKind() in addedMember()
980 if (Using->getDeclName().getNameKind() == in addedMember()
1829 assert(NameInfo.getName().getNameKind() in Create()
1966 assert(NameInfo.getName().getNameKind() in Create()
1999 assert(NameInfo.getName().getNameKind() in Create()
DDecl.cpp2556 assert(getDeclName().getNameKind() == DeclarationName::CXXOperatorName); in isReservedGlobalPlacementOperator()
2579 if (getDeclName().getNameKind() != DeclarationName::CXXOperatorName) in isReplaceableGlobalAllocationFunction()
3015 if (getDeclName().getNameKind() == DeclarationName::CXXOperatorName) in getOverloadedOperator()
3024 if (getDeclName().getNameKind() == DeclarationName::CXXLiteralOperatorName) in getLiteralIdentifier()
DItaniumMangle.cpp1158 switch (name.getNameKind()) { in mangleUnresolvedName()
1194 switch (Name.getNameKind()) { in mangleUnqualifiedName()
1941 switch (Name.getNameKind()) { in mangleOperatorName()
DDeclPrinter.cpp1387 if (D->getDeclName().getNameKind() == DeclarationName::CXXOperatorName) { in VisitOMPDeclareReductionDecl()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DNameSearchContext.cpp74 m_decl_name.getNameKind() == DeclarationName::Identifier in AddFunDecl()
/external/llvm-project/clang-tools-extra/clangd/
DSemanticHighlighting.cpp41 if (Name.getNameKind() == DeclarationName::CXXConstructorName || in canHighlightName()
42 Name.getNameKind() == DeclarationName::CXXUsingDirective) in canHighlightName()
DHover.cpp316 const auto NK = FD->getDeclName().getNameKind(); in fillFunctionTypeAndParams()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp380 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl()
451 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl()
478 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl()
940 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitVarDecl()
1214 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitCXXMethodDecl()
DASTWriter.cpp3582 switch (Lookup.first.getNameKind()) { in GenerateNameLookupTable()
3628 switch (Name.getNameKind()) { in GenerateNameLookupTable()
3674 switch (Name.getNameKind()) { in GenerateNameLookupTable()
3743 if (Name.getNameKind() == DeclarationName::CXXConstructorName || in WriteDeclContextVisibleBlock()
3744 Name.getNameKind() == DeclarationName::CXXConversionFunctionName) { in WriteDeclContextVisibleBlock()
5069 Record->push_back(Name.getNameKind()); in AddDeclarationName()
5070 switch (Name.getNameKind()) { in AddDeclarationName()
5124 switch (Name.getNameKind()) { in AddDeclarationNameLoc()
/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp396 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl()
469 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl()
504 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl()
1064 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitVarDecl()
1383 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitCXXMethodDecl()
DASTWriter.cpp3723 switch (Lookup.first.getNameKind()) { in GenerateNameLookupTable()
3769 switch (Name.getNameKind()) { in GenerateNameLookupTable()
3815 switch (Name.getNameKind()) { in GenerateNameLookupTable()
3884 if (Name.getNameKind() == DeclarationName::CXXConstructorName || in WriteDeclContextVisibleBlock()
3885 Name.getNameKind() == DeclarationName::CXXConversionFunctionName) { in WriteDeclContextVisibleBlock()
5543 switch (Name.getNameKind()) { in AddDeclarationNameLoc()
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolCollector.cpp625 const auto NameKind = Name.getNameKind(); in finish()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp316 switch (NameInfo.getName().getNameKind()) { in DiagnoseUnexpandedParameterPack()
/external/llvm-project/clang/lib/Sema/
DSemaLookup.cpp973 switch (Name.getNameKind()) { in isImplicitlyDeclaredMemberFunctionName()
997 switch (Name.getNameKind()) { in DeclareImplicitMemberFunctionsWithName()
1066 if (R.getLookupName().getNameKind() in LookupDirect()
1085 if (R.getLookupName().getNameKind() == in LookupDirect()
DSemaTemplateVariadic.cpp456 switch (NameInfo.getName().getNameKind()) { in DiagnoseUnexpandedParameterPack()

123