Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DDeclarationName.h116 NameKind Kind = getNameKind(); in getAsCXXSpecialName()
124 if (getNameKind() == CXXOperatorName) in getAsCXXOperatorIdName()
130 if (getNameKind() == CXXLiteralOperatorName) in getAsCXXLiteralOperatorIdName()
205 NameKind getNameKind() const;
264 assert((getNameKind() == ObjCZeroArgSelector || in getObjCSelector()
265 getNameKind() == ObjCOneArgSelector || in getObjCSelector()
266 getNameKind() == ObjCMultiArgSelector || in getObjCSelector()
465 assert(Name.getNameKind() == DeclarationName::CXXConstructorName || in getNamedTypeInfo()
466 Name.getNameKind() == DeclarationName::CXXDestructorName || in getNamedTypeInfo()
467 Name.getNameKind() == DeclarationName::CXXConversionFunctionName); in getNamedTypeInfo()
[all …]
DRecursiveASTVisitor.h694 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()
137 switch (N.getNameKind()) { in operator <<()
198 DeclarationName::NameKind DeclarationName::getNameKind() const { in getNameKind() function in DeclarationName
272 switch (getNameKind()) { in getFETokenInfoAsVoidSlow()
293 switch (getNameKind()) { in setFETokenInfo()
444 switch (Name.getNameKind()) { in DeclarationNameLoc()
470 switch (Name.getNameKind()) { in containsUnexpandedParameterPack()
492 switch (Name.getNameKind()) { in isInstantiationDependent()
[all …]
DDeclCXX.cpp884 if (Shadow->getDeclName().getNameKind() in addedMember()
1626 assert(NameInfo.getName().getNameKind() in Create()
1775 assert(NameInfo.getName().getNameKind() in Create()
1799 assert(NameInfo.getName().getNameKind() in Create()
DDecl.cpp2199 assert(getDeclName().getNameKind() == DeclarationName::CXXOperatorName); in isReservedGlobalPlacementOperator()
2227 if (getDeclName().getNameKind() != DeclarationName::CXXOperatorName) in isReplaceableGlobalAllocationFunction()
2593 if (getDeclName().getNameKind() == DeclarationName::CXXOperatorName) in getOverloadedOperator()
2602 if (getDeclName().getNameKind() == DeclarationName::CXXLiteralOperatorName) in getLiteralIdentifier()
DMicrosoftMangle.cpp476 switch (Name.getNameKind()) { in mangleUnqualifiedName()
DASTImporter.cpp1876 switch (To.getName().getNameKind()) { in ImportDeclarationNameLoc()
4995 switch (FromName.getNameKind()) { in Import()
DItaniumMangle.cpp1083 switch (Name.getNameKind()) { in mangleUnqualifiedName()
DExpr.cpp269 if (D->getDeclName().getNameKind() in computeDeclRefDependence()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp208 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl()
268 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl()
292 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl()
731 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitVarDecl()
DASTWriter.cpp3275 ID.AddInteger(Name.getNameKind()); in ComputeHash()
3277 switch (Name.getNameKind()) { in ComputeHash()
3306 switch (Name.getNameKind()) { in EmitKeyDataLength()
3335 Emit8(Out, Name.getNameKind()); in EmitKey()
3336 switch (Name.getNameKind()) { in EmitKey()
3417 if (Name.getNameKind() == DeclarationName::CXXConversionFunctionName) { in WriteDeclContextVisibleBlock()
4651 Record.push_back(Name.getNameKind()); in AddDeclarationName()
4652 switch (Name.getNameKind()) { in AddDeclarationName()
4685 switch (Name.getNameKind()) { in AddDeclarationNameLoc()
DASTWriterStmt.cpp357 DeclarationName::NameKind nk = (E->getDecl()->getDeclName().getNameKind()); in VisitDeclRefExpr()
DASTReader.cpp638 Key.Kind = Name.getNameKind(); in GetInternalKey()
639 switch (Name.getNameKind()) { in GetInternalKey()
6751 switch (Name.getNameKind()) { in ReadDeclarationNameLoc()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp307 switch (NameInfo.getName().getNameKind()) { in DiagnoseUnexpandedParameterPack()
DSemaLookup.cpp591 switch (Name.getNameKind()) { in isImplicitlyDeclaredMemberFunctionName()
614 switch (Name.getNameKind()) { in DeclareImplicitMemberFunctionsWithName()
680 if (R.getLookupName().getNameKind() in LookupDirect()
DSemaDecl.cpp4055 if ((Name.getNameKind() == DeclarationName::CXXConstructorName || in diagnoseQualifiedDeclaration()
4056 Name.getNameKind() == DeclarationName::CXXDestructorName) && in diagnoseQualifiedDeclaration()
5769 if (Name.getNameKind() == DeclarationName::CXXDestructorName) { in FindOverriddenMethod()
6139 if (Name.getNameKind() == DeclarationName::CXXConstructorName) { in CreateNewFunctionDecl()
6151 } else if (Name.getNameKind() == DeclarationName::CXXDestructorName) { in CreateNewFunctionDecl()
6196 } else if (Name.getNameKind() == DeclarationName::CXXConversionFunctionName) { in CreateNewFunctionDecl()
6511 if (Name.getNameKind() == DeclarationName::CXXDestructorName) { in ActOnFunctionDeclarator()
DSemaExprMember.cpp1508 MemberName.getNameKind() != DeclarationName::CXXDestructorName) { in LookupMemberExpr()
DSemaDeclCXX.cpp1816 else switch (Name.getNameKind()) { in ActOnCXXMemberDeclarator()
5554 assert(Name.getNameKind() == DeclarationName::Identifier); in FindHiddenVirtualMethod()
7029 if (Shadow->getDeclName().getNameKind() == in HideUsingShadowDecl()
7163 if (NameInfo.getName().getNameKind() == DeclarationName::CXXConstructorName) { in BuildUsingDeclaration()
DSemaExpr.cpp1663 if (Name.getNameKind() == DeclarationName::CXXOperatorName || in DiagnoseEmptyLookup()
1664 Name.getNameKind() == DeclarationName::CXXLiteralOperatorName || in DiagnoseEmptyLookup()
1665 Name.getNameKind() == DeclarationName::CXXConversionFunctionName) { in DiagnoseEmptyLookup()
1912 if (Name.getNameKind() == DeclarationName::CXXConversionFunctionName && in ActOnIdExpression()
DSemaTemplateInstantiateDecl.cpp2121 if (NameInfo.getName().getNameKind() == DeclarationName::CXXConstructorName) { in VisitUsingDecl()
DTreeTransform.h2965 switch (Name.getNameKind()) { in TransformDeclarationNameInfo()
2996 = SemaRef.Context.DeclarationNames.getCXXSpecialName(Name.getNameKind(), in TransformDeclarationNameInfo()
DSemaCodeComplete.cpp2448 switch (Name.getNameKind()) { in AddTypedNameChunk()
/external/clang/tools/libclang/
DRecursiveASTVisitor.h628 switch (NameInfo.getName().getNameKind()) { in TraverseDeclarationNameInfo()
DCIndex.cpp1196 switch (Name.getName().getNameKind()) { in VisitDeclarationNameInfo()
2493 const DeclarationName::NameKind Kind = NI.getName().getNameKind(); in buildPieces()
/external/clang/docs/
DInternalsManual.rst952 Given a ``DeclarationName`` ``N``, ``N.getNameKind()`` will produce a value

12