Home
last modified time | relevance | path

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

1234

/external/clang/lib/Sema/
DSemaObjCProperty.cpp102 << 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()
404 << NewProperty->getDeclName() << "atomic" in checkAtomicPropertyMismatch()
463 << CCPrimary->getDeclName(); in HandlePropertyInClassExtension()
740 << property->getDeclName() in checkARCPropertyImpl()
741 << ivar->getDeclName() in checkARCPropertyImpl()
747 << property->getDeclName() in checkARCPropertyImpl()
748 << ivar->getDeclName(); in checkARCPropertyImpl()
753 << property->getDeclName() in checkARCPropertyImpl()
[all …]
DSemaTemplateInstantiateDecl.cpp362 D->getLocation(), D->getDeclName()); in InstantiateTypedefNameDecl()
459 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitTypeAliasTemplateDecl()
472 D->getDeclName(), InstParams, AliasInst); in VisitTypeAliasTemplateDecl()
505 D->getDeclName()); in VisitVarDecl()
561 D->getLocation(), D->getDeclName()); in VisitFieldDecl()
597 FieldDecl *Field = SemaRef.CheckFieldDecl(D->getDeclName(), in VisitFieldDecl()
620 if (!Field->getDeclName()) { in VisitFieldDecl()
647 D->getLocation(), D->getDeclName()); in VisitMSPropertyDecl()
667 SemaRef.Context, Owner, D->getLocation(), D->getDeclName(), DI->getType(), in VisitMSPropertyDecl()
958 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitClassTemplateDecl()
[all …]
DIdentifierResolver.cpp143 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()
DSemaDeclObjC.cpp260 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations()
546 SuperClassDecl->getDeclName(), in ActOnSuperClassOfClassInterface()
804 << newTypeParam->getDeclName() in checkTypeParamListConsistency()
806 << prevTypeParam->getDeclName(); in checkTypeParamListConsistency()
831 << prevTypeParam->getDeclName(); in checkTypeParamListConsistency()
850 << newTypeParam->getDeclName() in checkTypeParamListConsistency()
853 << (newTypeParam->getDeclName() == prevTypeParam->getDeclName()) in checkTypeParamListConsistency()
854 << prevTypeParam->getDeclName() in checkTypeParamListConsistency()
861 << prevTypeParam->getDeclName(); in checkTypeParamListConsistency()
884 << newTypeParam->getDeclName() in checkTypeParamListConsistency()
[all …]
DSema.cpp652 << isa<TypeAliasDecl>(TD) << TD->getDeclName(); in emitAndClearUnusedLocalTypedefWarnings()
844 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
852 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
855 << /*function*/0 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
861 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
869 << /*variable*/1 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
872 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
875 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
897 << D->getDeclName(); in ActOnEndOfTranslationUnit()
DSemaDecl.cpp1231 IdentifierResolver::iterator I = IdResolver.begin(D->getDeclName()), in PushOnScopeChains()
1249 for (I = IdResolver.begin(D->getDeclName()); I != IEnd; ++I) { in PushOnScopeChains()
1574 Diag(D->getLocation(), DiagID) << D->getDeclName() << Hint; in DiagnoseUnusedDecl()
1588 S.Diag(L->getLocation(), diag::err_undeclared_label_use) <<L->getDeclName(); in CheckPoppedLabel()
1604 if (!D->getDeclName()) continue; in ActOnPopScope()
1933 << New->getDeclName(); in MergeTypedefNameDecl()
2028 << New->getDeclName(); in MergeTypedefNameDecl()
2047 << New->getDeclName(); in MergeTypedefNameDecl()
2317 S.Diag(VD->getLocation(), Diag) << VD->getDeclName(); in checkNewAttributesAfterDef()
2686 << New->getDeclName(); in MergeFunctionDecl()
[all …]
DSemaDeclCXX.cpp97 << 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()
1936 << MD->getDeclName(); in CheckOverrideControl()
1957 << MD->getDeclName(); in DiagnoseAbsenceOfOverrideControl()
1973 << New->getDeclName() in CheckIfOverriddenFunctionIsMarkedFinal()
2257 if (!FD->isImplicit() && FD->getDeclName() && in ActOnCXXMemberDeclarator()
[all …]
DSemaExprMember.cpp826 << indirectField->getDeclName(); in BuildAnonymousStructUnionMemberReference()
849 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
867 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
1335 << IDecl->getDeclName() << MemberName); in LookupMemberExpr()
1352 << IDecl->getDeclName() << MemberName in LookupMemberExpr()
1393 << IV->getDeclName(); in LookupMemberExpr()
1397 << IV->getDeclName(); in LookupMemberExpr()
1421 S.Diag(MemberLoc, diag::warn_direct_ivar_access) << IV->getDeclName(); in LookupMemberExpr()
DAnalysisBasedWarnings.cpp623 << 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()
DSemaAccess.cpp262 if (From->getDeclName() != To->getDeclName()) in MightInstantiateTo()
363 if (Context->getDeclName() != Friend->getDeclName()) in MightInstantiateTo()
478 if (CTD->getDeclName() != Friend->getDeclName()) in MatchesFriend()
1273 << (D ? D->getDeclName() : DeclarationName()) in DiagnoseBadAccess()
DSemaTemplateInstantiate.cpp1090 NTTP->getDeclName()); in TransformTemplateParmRefExpr()
1163 TemplateArgs, loc, parm->getDeclName()); in transformNonTypeTemplateParmRef()
1166 loc, parm->getDeclName()); in transformNonTypeTemplateParmRef()
1205 DeclarationNameInfo NameInfo(PD->getDeclName(), Loc); in RebuildParmVarDeclRefExpr()
1599 New->getDeclName()); in SubstExceptionSpec()
1626 OldParm->getLocation(), OldParm->getDeclName()); in SubstParmVarDecl()
1648 OldParm->getDeclName()); in SubstParmVarDecl()
2607 ClassPattern->lookup(Field->getDeclName()); in InstantiateClassMembers()
DSemaTemplate.cpp459 << cast<NamedDecl>(PrevDecl)->getDeclName(); in DiagnoseTemplateParameterShadow()
2007 << Template->getDeclName(); in NoteAllFoundTemplates()
2016 << 0 << (*I)->getDeclName(); in NoteAllFoundTemplates()
2137 AliasTemplate->getDeclName()); in CheckTemplateIdType()
2511 << FnTemplate->getDeclName(); in ActOnVarTemplateSpecialization()
2543 << VarTemplate->getDeclName(); in ActOnVarTemplateSpecialization()
2625 if (Param->getDeclName()) in ActOnVarTemplateSpecialization()
2627 << Param->getDeclName(); in ActOnVarTemplateSpecialization()
3233 Param->getDefaultArgumentLoc(), Param->getDeclName()); in SubstDefaultTemplateArgument()
3483 NTTP->getDeclName()); in CheckTemplateArgument()
[all …]
DSemaExprObjC.cpp1122 << Method->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1125 << MatchingMethodDecl->getDeclName(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1908 << MemberName << QualType(OPT, 0) << Ivar->getDeclName() in HandleExprPropertyRefExpr()
2154 << Method->getDeclName(); in ActOnSuperMessage()
2284 << Method->getDeclName(); in DiagnoseCStringFormatDirectiveInObjCAPI()
2379 << Method->getDeclName(); in BuildClassMessage()
2419 << Method->getDeclName(); in BuildClassMessage()
2427 << Method->getDeclName(); in BuildClassMessage()
2429 << CurMeth->getDeclName(); in BuildClassMessage()
2668 << Method->getDeclName(); in BuildInstanceMessage()
[all …]
DSemaExceptionSpec.cpp189 Decl->getDeclName().getCXXOverloadedOperator() != OO_Delete && in hasImplicitExceptionSpec()
190 Decl->getDeclName().getCXXOverloadedOperator() != OO_Array_Delete) in hasImplicitExceptionSpec()
207 OverloadedOperatorKind OO = New->getDeclName().getCXXOverloadedOperator(); in CheckEquivalentExceptionSpec()
DSemaExpr.cpp82 S.Diag(Loc, diag::warn_used_but_marked_unused) << D->getDeclName(); in DiagnoseUnusedOfDecl()
353 << D->getDeclName() << (unsigned)AT->getKeyword(); in DiagnoseUseOfDecl()
452 Diag(Loc, diag::warn_not_enough_argument) << D->getDeclName(); in DiagnoseSentinelCalls()
569 DeclarationName MemberName = IV->getDeclName(); in DiagnoseDirectIsaAccess()
1665 DeclarationNameInfo NameInfo(D->getDeclName(), Loc); in BuildDeclRefExpr()
2403 << IV->getDeclName()); in LookupInObjCMethod()
2418 Diag(Loc, diag::error_private_ivar_access) << IV->getDeclName(); in LookupInObjCMethod()
2442 Diag(Loc, diag::warn_direct_ivar_access) << IV->getDeclName(); in LookupInObjCMethod()
2467 Diag(Loc, diag::warn_ivar_use_hidden) << IV->getDeclName(); in LookupInObjCMethod()
2475 << IV->getDeclName()); in LookupInObjCMethod()
[all …]
/external/clang/lib/Tooling/Core/
DLookup.cpp40 if (cast<NamespaceDecl>(DeclA)->getDeclName() == in isInsideDifferentNamespaceWithSameName()
41 cast<NamespaceDecl>(DeclB)->getDeclName()) in isInsideDifferentNamespaceWithSameName()
/external/clang/lib/AST/
DDecl.cpp1484 if (getDeclName()) in printQualifiedName()
1515 assert(getDeclName() == OldD->getDeclName() && "Declaration name mismatch"); in declarationReplaces()
1741 if (!getDeclName() || typeIsPostfix(TInfo->getType())) in getSourceRange()
2480 assert(getDeclName().getNameKind() == DeclarationName::CXXOperatorName); in isReservedGlobalPlacementOperator()
2481 assert(getDeclName().getCXXOverloadedOperator() == OO_New || in isReservedGlobalPlacementOperator()
2482 getDeclName().getCXXOverloadedOperator() == OO_Delete || in isReservedGlobalPlacementOperator()
2483 getDeclName().getCXXOverloadedOperator() == OO_Array_New || in isReservedGlobalPlacementOperator()
2484 getDeclName().getCXXOverloadedOperator() == OO_Array_Delete); in isReservedGlobalPlacementOperator()
2503 if (getDeclName().getNameKind() != DeclarationName::CXXOperatorName) in isReplaceableGlobalAllocationFunction()
2505 if (getDeclName().getCXXOverloadedOperator() != OO_New && in isReplaceableGlobalAllocationFunction()
[all …]
DASTImporter.cpp913 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent()
915 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
926 << Field1->getDeclName() << Field1->getType() in IsStructurallyEquivalent()
929 << Field2->getDeclName(); in IsStructurallyEquivalent()
932 << Field2->getDeclName() << Field2->getType() in IsStructurallyEquivalent()
935 << Field1->getDeclName(); in IsStructurallyEquivalent()
951 << Field2->getDeclName() << Field2->getType() << Bits2; in IsStructurallyEquivalent()
953 << Field1->getDeclName() << Field1->getType() << Bits1; in IsStructurallyEquivalent()
1000 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent()
1126 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
[all …]
DDeclBase.cpp1211 if (!ND->getDeclName()) return; in removeDecl()
1217 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); in removeDecl()
1272 if (!D->getDeclName()) in shouldBeHidden()
1485 if (ND->getDeclName() == Name) in localUncachedLookup()
1604 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl()
1605 Source->FindExternalVisibleDeclsByName(this, D->getDeclName()); in makeDeclVisibleInContextImpl()
1608 StoredDeclsList &DeclNameEntries = (*Map)[D->getDeclName()]; in makeDeclVisibleInContextImpl()
DNSAPI.cpp501 TDT->getDecl()->getDeclName().getAsIdentifierInfo()->getName()) in GetNSIntegralKind()
556 if (TDT->getDecl()->getDeclName().getAsIdentifierInfo() == II) in isObjCTypedef()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp323 Writer.AddDeclarationName(D->getDeclName(), Record); in VisitNamedDecl()
354 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl()
384 Writer.AddIdentifierRef(TD->getDeclName().getAsIdentifierInfo(), Record); in VisitTagDecl()
425 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl()
452 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl()
484 Writer.AddDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record); in VisitFunctionDecl()
706 D->getDeclName()) in VisitObjCIvarDecl()
827 if (!D->getDeclName()) in VisitFieldDecl()
843 D->getDeclName()) in VisitFieldDecl()
915 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitVarDecl()
[all …]
DASTReaderDecl.cpp703 ReadDeclarationNameLoc(FD->DNLoc, FD->getDeclName(), Record, Idx); in VisitFunctionDecl()
1128 if (!FD->getDeclName()) { in VisitFieldDecl()
1349 ReadDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record, Idx); in VisitUsingDecl()
1381 ReadDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record, Idx); in VisitUnresolvedUsingValueDecl()
2542 assert(X->getDeclName() == Y->getDeclName() && "Declaration name mismatch!"); in isSameEntity()
2723 DeclarationName Name = New->getDeclName(); in ~FindExistingResult()
2802 : D->getDeclName(); in findExisting()
3461 if (Cat->getDeclName()) { in add()
3462 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; in add()
3478 << Interface->getDeclName() << Cat->getDeclName(); in add()
[all …]
DASTCommon.cpp365 if (D->getDeclName() || !isa<CXXRecordDecl>(D->getLexicalDeclContext())) in needsAnonymousDeclarationNumber()
/external/clang/include/clang/Sema/
DTypoCorrection.h55 : CorrectionName(Name->getDeclName()), CorrectionNameSpec(NNS),
/external/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp307 if (Node.getDeclName()) { in matchesNodeUnqualified()

1234