Home
last modified time | relevance | path

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

123

/external/clang/lib/Sema/
DSemaObjCProperty.cpp100 << property->getDeclName() in checkARCPropertyDecl()
125 DeclContext::lookup_result R = Proto->lookup(Prop->getDeclName()); in CheckPropertyAgainstProtocol()
205 DeclContext::lookup_result R = Super->lookup(Res->getDeclName()); in ActOnProperty()
453 PIDecl->getDeclName().getAsIdentifierInfo())) { in HandlePropertyInClassExtension()
506 << CCPrimary->getDeclName(); in HandlePropertyInClassExtension()
683 << property->getDeclName() in checkARCPropertyImpl()
684 << ivar->getDeclName() in checkARCPropertyImpl()
690 << property->getDeclName() in checkARCPropertyImpl()
691 << ivar->getDeclName(); in checkARCPropertyImpl()
696 << property->getDeclName() in checkARCPropertyImpl()
[all …]
DSemaTemplateInstantiateDecl.cpp249 D->getLocation(), D->getDeclName()); in InstantiateTypedefNameDecl()
344 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitTypeAliasTemplateDecl()
357 D->getDeclName(), InstParams, AliasInst); in VisitTypeAliasTemplateDecl()
389 D->getDeclName()); in VisitVarDecl()
445 D->getLocation(), D->getDeclName()); in VisitFieldDecl()
481 FieldDecl *Field = SemaRef.CheckFieldDecl(D->getDeclName(), in VisitFieldDecl()
504 if (!Field->getDeclName()) { in VisitFieldDecl()
531 D->getLocation(), D->getDeclName()); in VisitMSPropertyDecl()
551 SemaRef.Context, Owner, D->getLocation(), D->getDeclName(), DI->getType(), in VisitMSPropertyDecl()
827 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitClassTemplateDecl()
[all …]
DIdentifierResolver.cpp140 DeclarationName Name = D->getDeclName(); in AddDecl()
165 DeclarationName Name = D->getDeclName(); in InsertDeclAfter()
206 DeclarationName Name = D->getDeclName(); in RemoveDecl()
405 void *InfoPtr = D->getDeclName().getFETokenInfo<void>(); in incrementSlowCase()
DSemaDecl.cpp1166 IdentifierResolver::iterator I = IdResolver.begin(D->getDeclName()), in PushOnScopeChains()
1184 for (I = IdResolver.begin(D->getDeclName()); I != IEnd; ++I) { in PushOnScopeChains()
1478 Diag(D->getLocation(), DiagID) << D->getDeclName() << Hint; in DiagnoseUnusedDecl()
1486 S.Diag(L->getLocation(), diag::err_undeclared_label_use) <<L->getDeclName(); in CheckPoppedLabel()
1502 if (!D->getDeclName()) continue; in ActOnPopScope()
1819 << New->getDeclName(); in MergeTypedefNameDecl()
1880 << New->getDeclName(); in MergeTypedefNameDecl()
1899 << New->getDeclName(); in MergeTypedefNameDecl()
2140 S.Diag(VD->getLocation(), Diag) << VD->getDeclName(); in checkNewAttributesAfterDef()
2429 << New->getDeclName(); in MergeFunctionDecl()
[all …]
DSema.cpp785 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
792 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
795 << /*function*/0 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
801 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
809 << /*variable*/1 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
812 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
815 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
835 << D->getDeclName(); in ActOnEndOfTranslationUnit()
DSemaDeclCXX.cpp96 << Param->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
104 << VDecl->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
539 << New->getDeclName() in MergeCXXFunctionDecl()
1452 << CXXBaseDecl->getDeclName(); in CheckBaseSpecifier()
1461 << CXXBaseDecl->getDeclName() in CheckBaseSpecifier()
1464 << CXXBaseDecl->getDeclName() << FA->getRange(); in CheckBaseSpecifier()
1888 << MD->getDeclName(); in CheckOverrideControl()
1901 << New->getDeclName() in CheckIfOverriddenFunctionIsMarkedFinal()
2187 if (!FD->isImplicit() && FD->getDeclName() && in ActOnCXXMemberDeclarator()
3201 LookupResult MemberLookup(SemaRef, Field->getDeclName(), Loc, in BuildImplicitMemberInitializer()
[all …]
DSemaDeclObjC.cpp264 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations()
500 << PrevIDecl->getDeclName(); in ActOnStartClassInterface()
581 SuperClassDecl->getDeclName(), in ActOnStartClassInterface()
850 << Method->getDeclName(); in DiagnoseClassExtensionDupMethods()
1072 << SDecl->getDeclName(); in ActOnStartClassImplementation()
1364 << MethodImpl->getDeclName() in CheckMethodOverrideReturn()
1403 << MethodImpl->getDeclName() << MethodDecl->getReturnType() in CheckMethodOverrideReturn()
1429 << MethodImpl->getDeclName(); in CheckMethodOverrideParam()
1433 << MethodImpl->getDeclName(); in CheckMethodOverrideParam()
1474 << MethodImpl->getDeclName() << IfaceTy << ImplTy; in CheckMethodOverrideParam()
[all …]
DSemaExprMember.cpp799 << indirectField->getDeclName(); in BuildAnonymousStructUnionMemberReference()
822 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
840 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
1291 << IDecl->getDeclName() << MemberName); in LookupMemberExpr()
1308 << IDecl->getDeclName() << MemberName in LookupMemberExpr()
1349 << IV->getDeclName(); in LookupMemberExpr()
1353 << IV->getDeclName(); in LookupMemberExpr()
1377 S.Diag(MemberLoc, diag::warn_direct_ivar_access) << IV->getDeclName(); in LookupMemberExpr()
DAnalysisBasedWarnings.cpp615 << VD->getDeclName() in SuggestInitializationFixit()
635 S.Diag(Loc, diag::note_var_fixit_add_initialization) << VD->getDeclName() in SuggestInitializationFixit()
676 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
683 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
819 << VD->getDeclName() << IsCapturedByBlock << DiagKind in DiagUninitUse()
832 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse()
866 << VD->getDeclName() << VD->getLocation() << DRE->getSourceRange(); in DiagnoseUninitializedUse()
877 << VD->getDeclName(); in DiagnoseUninitializedUse()
887 << VD->getDeclName(); in DiagnoseUninitializedUse()
DSemaAccess.cpp257 if (From->getDeclName() != To->getDeclName()) in MightInstantiateTo()
358 if (Context->getDeclName() != Friend->getDeclName()) in MightInstantiateTo()
473 if (CTD->getDeclName() != Friend->getDeclName()) in MatchesFriend()
1268 << (D ? D->getDeclName() : DeclarationName()) in DiagnoseBadAccess()
DSemaTemplate.cpp458 << cast<NamedDecl>(PrevDecl)->getDeclName(); in DiagnoseTemplateParameterShadow()
1977 << Template->getDeclName(); in NoteAllFoundTemplates()
1986 << 0 << (*I)->getDeclName(); in NoteAllFoundTemplates()
2055 AliasTemplate->getDeclName()); in CheckTemplateIdType()
2426 << FnTemplate->getDeclName(); in ActOnVarTemplateSpecialization()
2458 Templated->getTypeSpecStartLoc(), Templated->getDeclName()); in ActOnVarTemplateSpecialization()
2477 << VarTemplate->getDeclName(); in ActOnVarTemplateSpecialization()
2559 if (Param->getDeclName()) in ActOnVarTemplateSpecialization()
2561 << Param->getDeclName(); in ActOnVarTemplateSpecialization()
3166 Param->getDefaultArgumentLoc(), Param->getDeclName()); in SubstDefaultTemplateArgument()
[all …]
DSemaExceptionSpec.cpp158 Decl->getDeclName().getCXXOverloadedOperator() != OO_Delete && in hasImplicitExceptionSpec()
159 Decl->getDeclName().getCXXOverloadedOperator() != OO_Array_Delete) in hasImplicitExceptionSpec()
176 OverloadedOperatorKind OO = New->getDeclName().getCXXOverloadedOperator(); in CheckEquivalentExceptionSpec()
DSemaExpr.cpp80 S.Diag(Loc, diag::warn_used_but_marked_unused) << D->getDeclName(); in DiagnoseUnusedOfDecl()
291 << D->getDeclName(); in DiagnoseUseOfDecl()
389 Diag(Loc, diag::warn_not_enough_argument) << D->getDeclName(); in DiagnoseSentinelCalls()
498 DeclarationName MemberName = IV->getDeclName(); in DiagnoseDirectIsaAccess()
1625 DeclarationNameInfo NameInfo(D->getDeclName(), Loc); in BuildDeclRefExpr()
2326 << IV->getDeclName()); in LookupInObjCMethod()
2341 Diag(Loc, diag::error_private_ivar_access) << IV->getDeclName(); in LookupInObjCMethod()
2365 Diag(Loc, diag::warn_direct_ivar_access) << IV->getDeclName(); in LookupInObjCMethod()
2391 Diag(Loc, diag::warn_ivar_use_hidden) << IV->getDeclName(); in LookupInObjCMethod()
2399 << IV->getDeclName()); in LookupInObjCMethod()
[all …]
DSemaStmt.cpp418 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
1107 UnhandledNames.push_back(EI->second->getDeclName()); in ActOnFinishSwitchStmt()
1443 PDiag << (*I)->getDeclName(); in CheckForLoopConditionalStatement()
1769 << D->getDeclName(); in ActOnObjCForCollectionStmt()
2851 << FD->getDeclName(); in BuildReturnStmt()
2900 << CurDecl->getDeclName() << FunctionKind in BuildReturnStmt()
2929 << CurDecl->getDeclName() << isa<CXXDestructorDecl>(CurDecl) in BuildReturnStmt()
2946 << CurDecl->getDeclName() << FunctionKind in BuildReturnStmt()
2968 Diag(ReturnLoc, DiagID) << getCurMethodDecl()->getDeclName() << 1/*meth*/; in BuildReturnStmt()
DSemaTemplateInstantiate.cpp1114 NTTP->getDeclName()); in TransformTemplateParmRefExpr()
1169 TemplateArgs, loc, parm->getDeclName()); in transformNonTypeTemplateParmRef()
1172 loc, parm->getDeclName()); in transformNonTypeTemplateParmRef()
1211 DeclarationNameInfo NameInfo(PD->getDeclName(), Loc); in RebuildParmVarDeclRefExpr()
1608 OldParm->getLocation(), OldParm->getDeclName()); in SubstParmVarDecl()
1630 OldParm->getDeclName()); in SubstParmVarDecl()
DSemaExprObjC.cpp999 << Method->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1002 << MatchingMethodDecl->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1691 << MemberName << QualType(OPT, 0) << Ivar->getDeclName() in HandleExprPropertyRefExpr()
1940 << Method->getDeclName(); in ActOnSuperMessage()
2127 << Method->getDeclName(); in BuildClassMessage()
2373 << Method->getDeclName(); in BuildInstanceMessage()
2608 << SelMethod->getDeclName(); in BuildInstanceMessage()
2618 << SelMethod->getDeclName(); in BuildInstanceMessage()
/external/clang/lib/AST/
DDecl.cpp1409 if (getDeclName()) in printQualifiedName()
1425 assert(getDeclName() == OldD->getDeclName() && "Declaration name mismatch"); in declarationReplaces()
1640 if (!getDeclName() || typeIsPostfix(TInfo->getType())) in getSourceRange()
2376 assert(getDeclName().getNameKind() == DeclarationName::CXXOperatorName); in isReservedGlobalPlacementOperator()
2377 assert(getDeclName().getCXXOverloadedOperator() == OO_New || in isReservedGlobalPlacementOperator()
2378 getDeclName().getCXXOverloadedOperator() == OO_Delete || in isReservedGlobalPlacementOperator()
2379 getDeclName().getCXXOverloadedOperator() == OO_Array_New || in isReservedGlobalPlacementOperator()
2380 getDeclName().getCXXOverloadedOperator() == OO_Array_Delete); in isReservedGlobalPlacementOperator()
2399 if (getDeclName().getNameKind() != DeclarationName::CXXOperatorName) in isReplaceableGlobalAllocationFunction()
2401 if (getDeclName().getCXXOverloadedOperator() != OO_New && in isReplaceableGlobalAllocationFunction()
[all …]
DASTImporter.cpp868 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent()
870 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
881 << Field1->getDeclName() << Field1->getType() in IsStructurallyEquivalent()
884 << Field2->getDeclName(); in IsStructurallyEquivalent()
887 << Field2->getDeclName() << Field2->getType() in IsStructurallyEquivalent()
890 << Field1->getDeclName(); in IsStructurallyEquivalent()
906 << Field2->getDeclName() << Field2->getType() << Bits2; in IsStructurallyEquivalent()
908 << Field1->getDeclName() << Field1->getType() << Bits1; in IsStructurallyEquivalent()
955 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent()
1081 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
[all …]
DDeclBase.cpp1150 if (!ND->getDeclName()) return; in removeDecl()
1155 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); in removeDecl()
1208 if (!D->getDeclName()) in shouldBeHidden()
1412 if (ND->getDeclName() == Name) in localUncachedLookup()
1520 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl()
1521 Source->FindExternalVisibleDeclsByName(this, D->getDeclName()); in makeDeclVisibleInContextImpl()
1524 StoredDeclsList &DeclNameEntries = (*Map)[D->getDeclName()]; in makeDeclVisibleInContextImpl()
DItaniumMangle.cpp329 mangleUnqualifiedName(ND, ND->getDeclName(), UnknownArity); in mangleUnqualifiedName()
407 if (!FD->getDeclName().isIdentifier() || L == CXXLanguageLinkage) in shouldMangleCXXName()
1141 assert(D->getDeclName().getAsIdentifierInfo() && in mangleUnqualifiedName()
1143 mangleSourceName(D->getDeclName().getAsIdentifierInfo()); in mangleUnqualifiedName()
1534 mangleUnqualifiedName(nullptr, (*Overloaded->begin())->getDeclName(), in mangleTemplatePrefix()
2772 ME->getMemberDecl()->getDeclName(), Arity); in mangleExpression()
3061 mangleUnresolvedName(DRE->getQualifier(), nullptr, DRE->getDeclName(), in mangleExpression()
DDeclCXX.cpp924 if (Shadow->getDeclName().getNameKind() in addedMember()
1354 OverloadedOperatorKind OOK = getDeclName().getCXXOverloadedOperator(); in isStatic()
1389 lookup_const_result Candidates = RD->lookup(getDeclName()); in getCorrespondingMethodInClass()
1462 DeclContext::lookup_const_result R = getDeclContext()->lookup(getDeclName()); in isUsualDeallocationFunction()
DNSAPI.cpp393 if (TDT->getDecl()->getDeclName().getAsIdentifierInfo() == II) in isObjCTypedef()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp205 Writer.AddDeclarationName(D->getDeclName(), Record); in VisitNamedDecl()
234 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl()
296 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl()
320 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl()
353 Writer.AddDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record); in VisitFunctionDecl()
561 D->getDeclName()) in VisitObjCIvarDecl()
673 if (!D->getDeclName()) in VisitFieldDecl()
688 D->getDeclName()) in VisitFieldDecl()
756 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitVarDecl()
945 Writer.AddDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record); in VisitUsingDecl()
[all …]
DASTReaderDecl.cpp574 ReadDeclarationNameLoc(FD->DNLoc, FD->getDeclName(), Record, Idx); in VisitFunctionDecl()
959 if (!FD->getDeclName()) { in VisitFieldDecl()
1165 ReadDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record, Idx); in VisitUsingDecl()
1196 ReadDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record, Idx); in VisitUnresolvedUsingValueDecl()
2274 assert(X->getDeclName() == Y->getDeclName() && "Declaration name mismatch!"); in isSameEntity()
2392 Reader.SemaObj->IdResolver.tryAddTopLevelDecl(New, New->getDeclName()); in ~FindExistingResult()
2401 DeclarationName Name = D->getDeclName(); in findExisting()
3048 if (Cat->getDeclName()) { in add()
3049 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; in add()
3065 << Interface->getDeclName() << Cat->getDeclName(); in add()
[all …]
/external/clang/include/clang/Sema/
DTypoCorrection.h54 : CorrectionName(Name->getDeclName()), CorrectionNameSpec(NNS),

123