Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaObjCProperty.cpp102 << property->getDeclName() in checkPropertyDeclWithOwnership()
758 << property->getDeclName() in checkARCPropertyImpl()
759 << ivar->getDeclName() in checkARCPropertyImpl()
765 << property->getDeclName() in checkARCPropertyImpl()
766 << ivar->getDeclName(); in checkARCPropertyImpl()
771 << property->getDeclName() in checkARCPropertyImpl()
772 << ivar->getDeclName() in checkARCPropertyImpl()
1324 << property->getDeclName() << Ivar->getDeclName() in ActOnPropertyImplDecl()
1374 << property->getDeclName() << Ivar->getDeclName(); in ActOnPropertyImplDecl()
1383 << property->getDeclName() << Ivar->getDeclName(); in ActOnPropertyImplDecl()
[all …]
H A DIdentifierResolver.cpp146 DeclarationName Name = D->getDeclName(); in AddDecl()
171 DeclarationName Name = D->getDeclName(); in InsertDeclAfter()
212 DeclarationName Name = D->getDeclName(); in RemoveDecl()
418 void *InfoPtr = D->getDeclName().getFETokenInfo(); in incrementSlowCase()
H A DSemaDeclObjC.cpp303 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations()
321 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations()
925 << (newTypeParam->getDeclName() == prevTypeParam->getDeclName()) in checkTypeParamListConsistency()
1059 << PrevIDecl->getDeclName(); in ActOnStartClassInterface()
1459 << proto->getDeclName(); in actOnObjCTypeArgsOrProtocolQualifiers()
1926 << IDecl->getDeclName(); in ActOnStartCategoryImplementation()
2007 << SDecl->getDeclName(); in ActOnStartClassImplementation()
2070 << IDecl->getDeclName() in ActOnStartClassImplementation()
2623 << MethodDecl->getDeclName(); in WarnExactTypedMethods()
3869 << FirstIvar->getDeclName() << LastIvar->getDeclName() in DiagnoseVariableSizedIvars()
[all …]
H A DSemaTemplateInstantiateDecl.cpp721 D->getDeclName(), /*AllowDeducedTST*/true); in VisitVarDecl()
845 if (!Field->getDeclName()) { in VisitFieldDecl()
1346 = Owner->lookup(ClassTemplate->getDeclName()); in VisitClassTemplatePartialSpecializationDecl()
2967 = Owner->lookup(ClassTemplate->getDeclName()); in VisitClassTemplateSpecializationDecl()
3515 D->getDeclName(), in SubstFunctionType()
4916 if (!Field->getDeclName()) { in isInstantiationOf()
4929 return D->getDeclName() && in isInstantiationOf()
4930 D->getDeclName() == cast<NamedDecl>(Other)->getDeclName(); in isInstantiationOf()
5208 if (auto Name = D->getDeclName()) { in FindInstantiatedDecl()
5243 << D->getDeclName() in FindInstantiatedDecl()
[all …]
H A DSema.cpp829 << isa<TypeAliasDecl>(TD) << TD->getDeclName(); in emitAndClearUnusedLocalTypedefWarnings()
1091 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
1099 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
1102 << /*function*/0 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
1107 << /*function*/0 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
1112 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
1120 << /*variable*/1 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
1126 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
1130 << /*variable*/1 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
1133 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
[all …]
H A DSemaDeclCXX.cpp590 << New->getDeclName() in MergeCXXFunctionDecl()
2810 << MD->getDeclName(); in CheckOverrideControl()
2848 << New->getDeclName() in CheckIfOverriddenFunctionIsMarkedFinal()
5017 << Field->getDeclName() in CheckRedundantInit()
5348 << SO->second.front().Method->getDeclName() << RD->getDeclName(); in DiagnoseAbstractType()
5617 << CD->getDeclName(); in checkForMultipleExportedDefaultConstructors()
6028 << F->getDeclName(); in CheckCompletedCXXClass()
6050 << D->getDeclName(); in CheckCompletedCXXClass()
8079 if (Param->getDeclName()) in ActOnReenterCXXMethodParameter()
8111 if (Param->getDeclName()) in ActOnDelayedCXXMethodParameter()
[all …]
H A DSemaDecl.cpp2157 << New->getDeclName(); in MergeTypedefNameDecl()
2252 << New->getDeclName(); in MergeTypedefNameDecl()
2273 << New->getDeclName(); in MergeTypedefNameDecl()
3009 << New->getDeclName(); in MergeFunctionDecl()
3054 << New->getDeclName(); in MergeFunctionDecl()
3222 << New->getDeclName(); in MergeFunctionDecl()
3814 << New->getDeclName(); in MergeVarDecl()
3853 << New->getDeclName(); in MergeVarDecl()
3882 << New->getDeclName(); in MergeVarDecl()
11576 << Var->getDeclName() in ActOnUninitializedDecl()
[all …]
H A DAnalysisBasedWarnings.cpp326 FD->getDeclName().getCXXOverloadedOperator() == OO_Delete || in EmitDiagForCXXThrowInNonThrowingFunc()
327 FD->getDeclName().getCXXOverloadedOperator() == OO_Array_Delete)) { in EmitDiagForCXXThrowInNonThrowingFunc()
741 << VD->getDeclName() in SuggestInitializationFixit()
761 S.Diag(Loc, diag::note_var_fixit_add_initialization) << VD->getDeclName() in SuggestInitializationFixit()
799 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
806 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
942 << VD->getDeclName() << IsCapturedByBlock << DiagKind in DiagUninitUse()
955 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
987 << VD->getDeclName() << VD->getLocation() << DRE->getSourceRange(); in DiagnoseUninitializedUse()
998 << VD->getDeclName(); in DiagnoseUninitializedUse()
[all …]
H A DSemaAccess.cpp263 if (From->getDeclName() != To->getDeclName()) in MightInstantiateTo()
365 if (Context->getDeclName() != Friend->getDeclName()) in MightInstantiateTo()
474 if (CTD->getDeclName() != Friend->getDeclName()) in MatchesFriend()
1269 << (D ? D->getDeclName() : DeclarationName()) in DiagnoseBadAccess()
H A DSemaExprMember.cpp848 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
866 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
1344 << IDecl->getDeclName() << MemberName); in LookupMemberExpr()
1370 << IDecl->getDeclName() << MemberName in LookupMemberExpr()
1411 << IV->getDeclName(); in LookupMemberExpr()
1415 << IV->getDeclName(); in LookupMemberExpr()
1439 S.Diag(MemberLoc, diag::warn_direct_ivar_access) << IV->getDeclName(); in LookupMemberExpr()
H A DSemaStmt.cpp1199 UnhandledNames.push_back(EI->second->getDeclName()); in ActOnFinishSwitchStmt()
1547 PDiag << VD->getDeclName(); in CheckForLoopConditionalStatement()
1933 << D->getDeclName(); in ActOnObjCForCollectionStmt()
3144 Str += NRVOCandidate->getDeclName().getAsString(); in PerformMoveOrCopyInitialization()
3148 << NRVOCandidate->getDeclName() << ResultType << QT; in PerformMoveOrCopyInitialization()
3177 Str += FakeNRVOCandidate->getDeclName().getAsString(); in PerformMoveOrCopyInitialization()
3181 << FakeNRVOCandidate->getDeclName() << IsThrow; in PerformMoveOrCopyInitialization()
3555 << FD->getDeclName(); in BuildReturnStmt()
3623 << CurDecl->getDeclName() << FunctionKind in BuildReturnStmt()
3652 << CurDecl->getDeclName() << isa<CXXDestructorDecl>(CurDecl) in BuildReturnStmt()
[all …]
H A DSemaTemplate.cpp768 << cast<NamedDecl>(PrevDecl)->getDeclName(); in DiagnoseTemplateParameterShadow()
2912 << Template->getDeclName(); in NoteAllFoundTemplates()
2921 << 0 << (*I)->getDeclName(); in NoteAllFoundTemplates()
3640 if (Param->getDeclName()) in noteNonDeducibleParameters()
3642 << Param->getDeclName(); in noteNonDeducibleParameters()
3743 << FnTemplate->getDeclName(); in ActOnVarTemplateSpecialization()
3776 << VarTemplate->getDeclName(); in ActOnVarTemplateSpecialization()
4769 NTTP->getDeclName()); in CheckTemplateArgument()
7585 << ClassTemplate->getDeclName(); in ActOnClassTemplateSpecialization()
8205 << FD->getDeclName() << FDLookupContext; in CheckFunctionTemplateSpecialization()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTStructuralEquivalence.cpp843 << Field2->getDeclName(); in IsStructurallyEquivalent()
845 << Field1->getDeclName(); in IsStructurallyEquivalent()
859 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent()
861 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
875 << Field1->getDeclName() << Field1->getType() in IsStructurallyEquivalent()
878 << Field2->getDeclName(); in IsStructurallyEquivalent()
881 << Field2->getDeclName() << Field2->getType() in IsStructurallyEquivalent()
884 << Field1->getDeclName(); in IsStructurallyEquivalent()
980 if (!D1->getDeclName() && !D2->getDeclName()) { in IsStructurallyEquivalent()
1157 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
[all …]
H A DASTImporterLookupTable.cpp60 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in add()
66 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in remove()
H A DDecl.cpp1614 if (getDeclName() || isa<DecompositionDecl>(this)) in printQualifiedName()
1645 assert(getDeclName() == OldD->getDeclName() && "Declaration name mismatch"); in declarationReplaces()
1862 if (!getDeclName() || typeIsPostfix(TInfo->getType())) in getSourceRange()
2797 assert(getDeclName().getCXXOverloadedOperator() == OO_New || in isReservedGlobalPlacementOperator()
2821 if (getDeclName().getCXXOverloadedOperator() != OO_New && in isReplaceableGlobalAllocationFunction()
2822 getDeclName().getCXXOverloadedOperator() != OO_Delete && in isReplaceableGlobalAllocationFunction()
2925 if (!Namespace->getDeclName()) in isGlobal()
3302 return getDeclName().getCXXOverloadedOperator(); in getOverloadedOperator()
3311 return getDeclName().getCXXLiteralIdentifier(); in getLiteralIdentifier()
3778 if (!isImplicit() || getDeclName()) in isAnonymousStructOrUnion()
[all …]
H A DDeclarationName.cpp101 return compare(LHS.getCXXDeductionGuideTemplate()->getDeclName(), in compare()
102 RHS.getCXXDeductionGuideTemplate()->getDeclName()); in compare()
160 getCXXDeductionGuideTemplate()->getDeclName().print(OS, Policy); in print()
H A DDeclBase.cpp1399 if (!D->getDeclName()) in shouldBeHidden()
1463 if (!ND->getDeclName()) in removeDecl()
1470 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); in removeDecl()
1725 if (ND->getDeclName() == Name) in localUncachedLookup()
1857 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl()
1858 Source->FindExternalVisibleDeclsByName(this, D->getDeclName()); in makeDeclVisibleInContextImpl()
1861 StoredDeclsList &DeclNameEntries = (*Map)[D->getDeclName()]; in makeDeclVisibleInContextImpl()
H A DDeclPrinter.cpp606 Proto = GuideDecl->getDeducedTemplate()->getDeclName().getAsString(); in VisitFunctionDecl()
1198 Out << Param->getDeclName().getAsString(); in PrintObjCTypeParams()
1521 Out << D->getDeclName(); in VisitUnresolvedUsingTypenameDecl()
1528 Out << D->getDeclName(); in VisitUnresolvedUsingValueDecl()
1561 if (D->getDeclName().getNameKind() == DeclarationName::CXXOperatorName) { in VisitOMPDeclareReductionDecl()
1569 OperatorNames[D->getDeclName().getCXXOverloadedOperator()]; in VisitOMPDeclareReductionDecl()
1573 assert(D->getDeclName().isIdentifier()); in VisitOMPDeclareReductionDecl()
H A DDeclCXX.cpp1264 if (Shadow->getDeclName().getNameKind() in addedMember()
1272 if (Using->getDeclName().getNameKind() == in addedMember()
1280 if (Using->getDeclName().getCXXOverloadedOperator() == OO_Equal) in addedMember()
1878 OverloadedOperatorKind OOK = getDeclName().getCXXOverloadedOperator(); in isStatic()
1911 for (auto *ND : RD->lookup(getDeclName())) { in getCorrespondingMethodInClass()
2090 DeclContext::lookup_result R = getDeclContext()->lookup(getDeclName()); in isUsualDeallocationFunction()
2666 : NamedDecl(K, DC, Loc, Using ? Using->getDeclName() : DeclarationName()), in UsingShadowDecl()
H A DODRHash.cpp278 Hash.AddDeclarationName(D->getDeclName()); in VisitNamedDecl()
594 AddDeclarationName(Enum->getDeclName()); in AddEnumDecl()
631 AddDeclarationName(ND->getDeclName()); in AddDecl()
H A DNSAPI.cpp521 TDT->getDecl()->getDeclName().getAsIdentifierInfo()->getName()) in GetNSIntegralKind()
576 if (TDT->getDecl()->getDeclName().getAsIdentifierInfo() == II) in isObjCTypedef()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Core/
H A DLookup.cpp74 if (cast<NamespaceDecl>(*FromIter)->getDeclName() == in usingFromDifferentCanonicalNamespace()
75 cast<NamespaceDecl>(*UseIter)->getDeclName()) in usingFromDifferentCanonicalNamespace()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexingContext.cpp212 for (const NamedDecl *BaseND : Pattern->lookup(ND->getDeclName())) { in adjustTemplateImplicitInstantiation()
222 for (const NamedDecl *BaseECD : Pattern->lookup(ECD->getDeclName())) in adjustTemplateImplicitInstantiation()
256 return (ND->getDeclName().isEmpty() && !isa<TagDecl>(ND) && in shouldSkipNamelessDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriterDecl.cpp357 Record.AddDeclarationName(D->getDeclName()); in VisitNamedDecl()
389 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl()
419 Record.AddIdentifierRef(TD->getDeclName().getAsIdentifierInfo()); in VisitTagDecl()
462 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl()
494 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl()
529 Record.AddDeclarationNameLoc(D->DNLoc, D->getDeclName()); in VisitFunctionDecl()
760 D->getDeclName()) in VisitObjCIvarDecl()
880 if (!D->getDeclName()) in VisitFieldDecl()
897 D->getDeclName()) in VisitFieldDecl()
1202 Record.AddDeclarationNameLoc(D->DNLoc, D->getDeclName()); in VisitUsingDecl()
[all …]
H A DASTReaderDecl.cpp851 ReadDeclarationNameLoc(FD->DNLoc, FD->getDeclName()); in VisitFunctionDecl()
1320 if (!FD->getDeclName()) { in VisitFieldDecl()
1575 ReadDeclarationNameLoc(D->DNLoc, D->getDeclName()); in VisitUsingDecl()
1625 ReadDeclarationNameLoc(D->DNLoc, D->getDeclName()); in VisitUnresolvedUsingValueDecl()
2943 assert(X->getDeclName() == Y->getDeclName() && "Declaration name mismatch!"); in isSameEntity()
3190 DeclarationName Name = New->getDeclName(); in ~FindExistingResult()
3295 : D->getDeclName(); in findExisting()
4076 if (Cat->getDeclName()) { in add()
4093 << Interface->getDeclName() << Cat->getDeclName(); in add()
4119 if (Cat->getDeclName()) in ObjCCategoriesVisitor()
[all …]

1234