/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 102 << property->getDeclName() in checkPropertyDeclWithOwnership() 118 DeclContext::lookup_result R = Proto->lookup(Prop->getDeclName()); in CheckPropertyAgainstProtocol() 237 DeclContext::lookup_result R = Super->lookup(Res->getDeclName()); in ActOnProperty() 405 << NewProperty->getDeclName() << "atomic" in checkAtomicPropertyMismatch() 467 << CCPrimary->getDeclName(); in HandlePropertyInClassExtension() 750 << property->getDeclName() in checkARCPropertyImpl() 751 << ivar->getDeclName() in checkARCPropertyImpl() 757 << property->getDeclName() in checkARCPropertyImpl() 758 << ivar->getDeclName(); in checkARCPropertyImpl() 763 << property->getDeclName() in checkARCPropertyImpl() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 476 D->getLocation(), D->getDeclName()); in InstantiateTypedefNameDecl() 573 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitTypeAliasTemplateDecl() 586 D->getDeclName(), InstParams, AliasInst); in VisitTypeAliasTemplateDecl() 612 D->getDeclName()); in VisitVarDecl() 668 D->getLocation(), D->getDeclName()); in VisitFieldDecl() 704 FieldDecl *Field = SemaRef.CheckFieldDecl(D->getDeclName(), in VisitFieldDecl() 727 if (!Field->getDeclName()) { in VisitFieldDecl() 754 D->getLocation(), D->getDeclName()); in VisitMSPropertyDecl() 774 SemaRef.Context, Owner, D->getLocation(), D->getDeclName(), DI->getType(), in VisitMSPropertyDecl() 1065 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitClassTemplateDecl() [all …]
|
D | IdentifierResolver.cpp | 143 DeclarationName Name = D->getDeclName(); in AddDecl() 168 DeclarationName Name = D->getDeclName(); in InsertDeclAfter() 209 DeclarationName Name = D->getDeclName(); in RemoveDecl() 413 void *InfoPtr = D->getDeclName().getFETokenInfo<void>(); in incrementSlowCase()
|
D | SemaDeclObjC.cpp | 259 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations() 545 SuperClassDecl->getDeclName(), in ActOnSuperClassOfClassInterface() 803 << newTypeParam->getDeclName() in checkTypeParamListConsistency() 805 << prevTypeParam->getDeclName(); in checkTypeParamListConsistency() 830 << prevTypeParam->getDeclName(); in checkTypeParamListConsistency() 849 << newTypeParam->getDeclName() in checkTypeParamListConsistency() 852 << (newTypeParam->getDeclName() == prevTypeParam->getDeclName()) in checkTypeParamListConsistency() 853 << prevTypeParam->getDeclName() in checkTypeParamListConsistency() 860 << prevTypeParam->getDeclName(); in checkTypeParamListConsistency() 883 << newTypeParam->getDeclName() in checkTypeParamListConsistency() [all …]
|
D | Sema.cpp | 643 << isa<TypeAliasDecl>(TD) << TD->getDeclName(); in emitAndClearUnusedLocalTypedefWarnings() 841 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit() 849 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit() 852 << /*function*/0 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit() 858 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit() 866 << /*variable*/1 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit() 869 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit() 872 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit() 890 << D->getDeclName(); in ActOnEndOfTranslationUnit()
|
D | SemaDecl.cpp | 1271 IdentifierResolver::iterator I = IdResolver.begin(D->getDeclName()), in PushOnScopeChains() 1289 for (I = IdResolver.begin(D->getDeclName()); I != IEnd; ++I) { in PushOnScopeChains() 1616 Diag(D->getLocation(), DiagID) << D->getDeclName() << Hint; in DiagnoseUnusedDecl() 1630 S.Diag(L->getLocation(), diag::err_undeclared_label_use) <<L->getDeclName(); in CheckPoppedLabel() 1646 if (!D->getDeclName()) continue; in ActOnPopScope() 1988 << New->getDeclName(); in MergeTypedefNameDecl() 2083 << New->getDeclName(); in MergeTypedefNameDecl() 2102 << New->getDeclName(); in MergeTypedefNameDecl() 2373 S.Diag(VD->getLocation(), Diag) << VD->getDeclName(); in checkNewAttributesAfterDef() 2760 << New->getDeclName(); in MergeFunctionDecl() [all …]
|
D | SemaDeclCXX.cpp | 97 << Param->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr() 105 << VDecl->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr() 584 << New->getDeclName() in MergeCXXFunctionDecl() 1448 << CXXBaseDecl->getDeclName(); in CheckBaseSpecifier() 1457 << CXXBaseDecl->getDeclName() in CheckBaseSpecifier() 1460 << CXXBaseDecl->getDeclName() << FA->getRange(); in CheckBaseSpecifier() 1939 << MD->getDeclName(); in CheckOverrideControl() 1960 << MD->getDeclName(); in DiagnoseAbsenceOfOverrideControl() 1976 << New->getDeclName() in CheckIfOverriddenFunctionIsMarkedFinal() 2260 if (!FD->isImplicit() && FD->getDeclName() && in ActOnCXXMemberDeclarator() [all …]
|
D | SemaExprMember.cpp | 840 << indirectField->getDeclName(); in BuildAnonymousStructUnionMemberReference() 863 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference() 881 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference() 1398 << IDecl->getDeclName() << MemberName); in LookupMemberExpr() 1417 << IDecl->getDeclName() << MemberName in LookupMemberExpr() 1458 << IV->getDeclName(); in LookupMemberExpr() 1462 << IV->getDeclName(); in LookupMemberExpr() 1486 S.Diag(MemberLoc, diag::warn_direct_ivar_access) << IV->getDeclName(); in LookupMemberExpr()
|
D | AnalysisBasedWarnings.cpp | 623 << VD->getDeclName() in SuggestInitializationFixit() 643 S.Diag(Loc, diag::note_var_fixit_add_initialization) << VD->getDeclName() in SuggestInitializationFixit() 683 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse() 690 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse() 826 << VD->getDeclName() << IsCapturedByBlock << DiagKind in DiagUninitUse() 839 << VD->getDeclName() << IsCapturedByBlock in DiagUninitUse() 872 << VD->getDeclName() << VD->getLocation() << DRE->getSourceRange(); in DiagnoseUninitializedUse() 883 << VD->getDeclName(); in DiagnoseUninitializedUse() 893 << VD->getDeclName(); in DiagnoseUninitializedUse()
|
D | SemaAccess.cpp | 262 if (From->getDeclName() != To->getDeclName()) in MightInstantiateTo() 364 if (Context->getDeclName() != Friend->getDeclName()) in MightInstantiateTo() 473 if (CTD->getDeclName() != Friend->getDeclName()) in MatchesFriend() 1268 << (D ? D->getDeclName() : DeclarationName()) in DiagnoseBadAccess()
|
D | SemaTemplateInstantiate.cpp | 1092 NTTP->getDeclName()); in TransformTemplateParmRefExpr() 1165 TemplateArgs, loc, parm->getDeclName()); in transformNonTypeTemplateParmRef() 1168 loc, parm->getDeclName()); in transformNonTypeTemplateParmRef() 1207 DeclarationNameInfo NameInfo(PD->getDeclName(), Loc); in RebuildParmVarDeclRefExpr() 1591 New->getDeclName()); in SubstExceptionSpec() 1618 OldParm->getLocation(), OldParm->getDeclName()); in SubstParmVarDecl() 1640 OldParm->getDeclName()); in SubstParmVarDecl() 2632 ClassPattern->lookup(Field->getDeclName()); in InstantiateClassMembers()
|
D | SemaTemplate.cpp | 474 << cast<NamedDecl>(PrevDecl)->getDeclName(); in DiagnoseTemplateParameterShadow() 2024 << Template->getDeclName(); in NoteAllFoundTemplates() 2033 << 0 << (*I)->getDeclName(); in NoteAllFoundTemplates() 2177 AliasTemplate->getDeclName()); in CheckTemplateIdType() 2549 << FnTemplate->getDeclName(); in ActOnVarTemplateSpecialization() 2581 << VarTemplate->getDeclName(); in ActOnVarTemplateSpecialization() 2663 if (Param->getDeclName()) in ActOnVarTemplateSpecialization() 2665 << Param->getDeclName(); in ActOnVarTemplateSpecialization() 3275 Param->getDefaultArgumentLoc(), Param->getDeclName()); in SubstDefaultTemplateArgument() 3522 NTTP->getDeclName()); in CheckTemplateArgument() [all …]
|
D | SemaExprObjC.cpp | 1119 << Method->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool() 1122 << MatchingMethodDecl->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool() 1925 << MemberName << QualType(OPT, 0) << Ivar->getDeclName() in HandleExprPropertyRefExpr() 2169 << Method->getDeclName(); in ActOnSuperMessage() 2297 << Method->getDeclName(); in DiagnoseCStringFormatDirectiveInObjCAPI() 2392 << Method->getDeclName(); in BuildClassMessage() 2432 << Method->getDeclName(); in BuildClassMessage() 2440 << Method->getDeclName(); in BuildClassMessage() 2442 << CurMeth->getDeclName(); in BuildClassMessage() 2679 << Method->getDeclName(); in BuildInstanceMessage() [all …]
|
D | SemaExceptionSpec.cpp | 195 Decl->getDeclName().getCXXOverloadedOperator() != OO_Delete && in hasImplicitExceptionSpec() 196 Decl->getDeclName().getCXXOverloadedOperator() != OO_Array_Delete) in hasImplicitExceptionSpec() 213 OverloadedOperatorKind OO = New->getDeclName().getCXXOverloadedOperator(); in CheckEquivalentExceptionSpec()
|
/external/clang/lib/Tooling/Core/ |
D | Lookup.cpp | 40 if (cast<NamespaceDecl>(DeclA)->getDeclName() == in isInsideDifferentNamespaceWithSameName() 41 cast<NamespaceDecl>(DeclB)->getDeclName()) in isInsideDifferentNamespaceWithSameName()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 1484 if (getDeclName()) in printQualifiedName() 1515 assert(getDeclName() == OldD->getDeclName() && "Declaration name mismatch"); in declarationReplaces() 1744 if (!getDeclName() || typeIsPostfix(TInfo->getType())) in getSourceRange() 2556 assert(getDeclName().getNameKind() == DeclarationName::CXXOperatorName); in isReservedGlobalPlacementOperator() 2557 assert(getDeclName().getCXXOverloadedOperator() == OO_New || in isReservedGlobalPlacementOperator() 2558 getDeclName().getCXXOverloadedOperator() == OO_Delete || in isReservedGlobalPlacementOperator() 2559 getDeclName().getCXXOverloadedOperator() == OO_Array_New || in isReservedGlobalPlacementOperator() 2560 getDeclName().getCXXOverloadedOperator() == OO_Array_Delete); in isReservedGlobalPlacementOperator() 2579 if (getDeclName().getNameKind() != DeclarationName::CXXOperatorName) in isReplaceableGlobalAllocationFunction() 2581 if (getDeclName().getCXXOverloadedOperator() != OO_New && in isReplaceableGlobalAllocationFunction() [all …]
|
D | DeclBase.cpp | 1255 if (!ND->getDeclName()) return; in removeDecl() 1261 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); in removeDecl() 1316 if (!D->getDeclName()) in shouldBeHidden() 1529 if (ND->getDeclName() == Name) in localUncachedLookup() 1651 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl() 1652 Source->FindExternalVisibleDeclsByName(this, D->getDeclName()); in makeDeclVisibleInContextImpl() 1655 StoredDeclsList &DeclNameEntries = (*Map)[D->getDeclName()]; in makeDeclVisibleInContextImpl()
|
D | ASTImporter.cpp | 976 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent() 978 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent() 989 << Field1->getDeclName() << Field1->getType() in IsStructurallyEquivalent() 992 << Field2->getDeclName(); in IsStructurallyEquivalent() 995 << Field2->getDeclName() << Field2->getType() in IsStructurallyEquivalent() 998 << Field1->getDeclName(); in IsStructurallyEquivalent() 1014 << Field2->getDeclName() << Field2->getType() << Bits2; in IsStructurallyEquivalent() 1016 << Field1->getDeclName() << Field1->getType() << Bits1; in IsStructurallyEquivalent() 1079 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent() 1205 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent() [all …]
|
D | DeclPrinter.cpp | 1046 Out << Param->getDeclName().getAsString(); in PrintObjCTypeParams() 1356 Out << D->getDeclName(); in VisitUnresolvedUsingTypenameDecl() 1363 Out << D->getDeclName(); in VisitUnresolvedUsingValueDecl() 1387 if (D->getDeclName().getNameKind() == DeclarationName::CXXOperatorName) { in VisitOMPDeclareReductionDecl() 1395 OperatorNames[D->getDeclName().getCXXOverloadedOperator()]; in VisitOMPDeclareReductionDecl() 1399 assert(D->getDeclName().isIdentifier()); in VisitOMPDeclareReductionDecl()
|
D | DeclCXX.cpp | 972 if (Shadow->getDeclName().getNameKind() in addedMember() 980 if (Using->getDeclName().getNameKind() == in addedMember() 984 if (Using->getDeclName().getCXXOverloadedOperator() == OO_Equal) in addedMember() 1470 OverloadedOperatorKind OOK = getDeclName().getCXXOverloadedOperator(); in isStatic() 1505 for (auto *ND : RD->lookup(getDeclName())) { in getCorrespondingMethodInClass() 1577 DeclContext::lookup_result R = getDeclContext()->lookup(getDeclName()); in isUsualDeallocationFunction() 2149 : NamedDecl(K, DC, Loc, Using ? Using->getDeclName() : DeclarationName()), in UsingShadowDecl()
|
D | NSAPI.cpp | 493 TDT->getDecl()->getDeclName().getAsIdentifierInfo()->getName()) in GetNSIntegralKind() 548 if (TDT->getDecl()->getDeclName().getAsIdentifierInfo() == II) in isObjCTypedef()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 349 Record.AddDeclarationName(D->getDeclName()); in VisitNamedDecl() 380 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl() 410 Record.AddIdentifierRef(TD->getDeclName().getAsIdentifierInfo()); in VisitTagDecl() 451 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl() 478 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl() 510 Record.AddDeclarationNameLoc(D->DNLoc, D->getDeclName()); in VisitFunctionDecl() 730 D->getDeclName()) in VisitObjCIvarDecl() 850 if (!D->getDeclName()) in VisitFieldDecl() 866 D->getDeclName()) in VisitFieldDecl() 940 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitVarDecl() [all …]
|
D | ASTReaderDecl.cpp | 758 ReadDeclarationNameLoc(FD->DNLoc, FD->getDeclName(), Record, Idx); in VisitFunctionDecl() 1183 if (!FD->getDeclName()) { in VisitFieldDecl() 1406 ReadDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record, Idx); in VisitUsingDecl() 1448 ReadDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record, Idx); in VisitUnresolvedUsingValueDecl() 2634 assert(X->getDeclName() == Y->getDeclName() && "Declaration name mismatch!"); in isSameEntity() 2838 DeclarationName Name = New->getDeclName(); in ~FindExistingResult() 2917 : D->getDeclName(); in findExisting() 3593 if (Cat->getDeclName()) { in add() 3594 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; in add() 3610 << Interface->getDeclName() << Cat->getDeclName(); in add() [all …]
|
/external/clang/lib/Index/ |
D | IndexingContext.cpp | 213 if (FD->getDeclName().isEmpty()) in adjustParent() 240 (cast<NamedDecl>(D)->getDeclName().isEmpty() && in handleDeclOccurrence()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 95 if (!Node.getDeclName().isIdentifier()) in AST_MATCHER_P() 108 clang::DeclarationName decl_name = potentially_mocked_method->getDeclName(); in AST_MATCHER_P() 1116 return expr.getDeclName(); in GetUnresolvedName() 1126 return decl.getDeclName(); in GetUnresolvedName()
|