Home
last modified time | relevance | path

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

123

/external/clang/lib/Sema/
DIdentifierResolver.cpp152 DeclarationName Name = D->getDeclName(); in AddDecl()
177 DeclarationName Name = D->getDeclName(); in InsertDeclAfter()
218 DeclarationName Name = D->getDeclName(); in RemoveDecl()
236 assert(Old->getDeclName() == New->getDeclName() && in ReplaceDecl()
239 DeclarationName Name = Old->getDeclName(); in ReplaceDecl()
435 void *InfoPtr = D->getDeclName().getFETokenInfo<void>(); in incrementSlowCase()
DSemaObjCProperty.cpp98 << property->getDeclName() in checkARCPropertyDecl()
321 PIDecl->getDeclName().getAsIdentifierInfo())) { in HandlePropertyInClassExtension()
362 << CCPrimary->getDeclName(); in HandlePropertyInClassExtension()
513 << property->getDeclName() in checkARCPropertyImpl()
514 << ivar->getDeclName() in checkARCPropertyImpl()
520 << property->getDeclName() in checkARCPropertyImpl()
521 << ivar->getDeclName(); in checkARCPropertyImpl()
526 << property->getDeclName() in checkARCPropertyImpl()
527 << ivar->getDeclName() in checkARCPropertyImpl()
607 Diag(PropertyLoc, diag::error_bad_property_decl) << IDecl->getDeclName(); in ActOnPropertyImplDecl()
[all …]
DSemaTemplateInstantiateDecl.cpp149 D->getLocation(), D->getDeclName()); in InstantiateTypedefNameDecl()
228 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitTypeAliasTemplateDecl()
241 D->getDeclName(), InstParams, AliasInst); in VisitTypeAliasTemplateDecl()
267 D->getDeclName()); in VisitVarDecl()
309 LookupResult Previous(SemaRef, Var->getDeclName(), Var->getLocation(), in VisitVarDecl()
390 D->getLocation(), D->getDeclName()); in VisitFieldDecl()
426 FieldDecl *Field = SemaRef.CheckFieldDecl(D->getDeclName(), in VisitFieldDecl()
446 if (!Field->getDeclName()) { in VisitFieldDecl()
729 DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName()); in VisitClassTemplateDecl()
756 LookupResult R(SemaRef, Pattern->getDeclName(), Pattern->getLocation(), in VisitClassTemplateDecl()
[all …]
DSemaDeclObjC.cpp247 << ND->getDeclName(); in DiagnoseObjCImplementedDeprecations()
402 << PrevIDecl->getDeclName(); in ActOnStartClassInterface()
431 << SuperName << ClassName << PrevDecl->getDeclName(); in ActOnStartClassInterface()
433 << PrevDecl->getDeclName(); in ActOnStartClassInterface()
479 << SuperClassDecl->getDeclName() in ActOnStartClassInterface()
665 << PDecl->getDeclName(); in FindProtocolDeclaration()
709 << Method->getDeclName(); in DiagnoseClassExtensionDupMethods()
938 << SDecl->getDeclName(); in ActOnStartClassImplementation()
1110 Diag(ImpLoc, DiagID) << method->getDeclName(); in WarnUndefinedMethod()
1112 Diag(method->getLocation(), DiagID) << method->getDeclName(); in WarnUndefinedMethod()
[all …]
DSemaDecl.cpp952 IdentifierResolver::iterator I = IdResolver.begin(D->getDeclName()), in PushOnScopeChains()
970 for (I = IdResolver.begin(D->getDeclName()); I != IEnd; ++I) { in PushOnScopeChains()
1228 Diag(D->getLocation(), DiagID) << D->getDeclName() << Hint; in DiagnoseUnusedDecl()
1236 S.Diag(L->getLocation(), diag::err_undeclared_label_use) <<L->getDeclName(); in CheckPoppedLabel()
1252 if (!D->getDeclName()) continue; in ActOnPopScope()
1305 << Id << IDecl->getDeclName() in getObjCInterfaceDecl()
1308 << IDecl->getDeclName(); in getObjCInterfaceDecl()
1515 << New->getDeclName(); in MergeTypedefNameDecl()
1574 << New->getDeclName(); in MergeTypedefNameDecl()
1593 << New->getDeclName(); in MergeTypedefNameDecl()
[all …]
DAnalysisBasedWarnings.cpp431 S.Diag(VD->getLocation(), diag::note_block_var_fixit_add_initialization) << VD->getDeclName() in SuggestInitializationFixit()
446 S.Diag(Loc, diag::note_var_fixit_add_initialization) << VD->getDeclName() in SuggestInitializationFixit()
488 << VD->getDeclName() << VD->getLocation() << DRE->getSourceRange(); in DiagnoseUninitializedUse()
491 << VD->getDeclName() << DRE->getSourceRange(); in DiagnoseUninitializedUse()
495 << VD->getDeclName() << DRE->getSourceRange(); in DiagnoseUninitializedUse()
502 << VD->getDeclName(); in DiagnoseUninitializedUse()
507 << VD->getDeclName(); in DiagnoseUninitializedUse()
515 << VD->getDeclName(); in DiagnoseUninitializedUse()
DSemaExprMember.cpp629 << ND->getDeclName(); in LookupMemberExprInRecord()
754 << indirectField->getDeclName(); in BuildAnonymousStructUnionMemberReference()
780 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
797 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc); in BuildAnonymousStructUnionMemberReference()
1163 << IDecl->getDeclName() << MemberName << IV->getDeclName() in LookupMemberExpr()
1167 << IV->getDeclName(); in LookupMemberExpr()
1185 << IDecl->getDeclName() << MemberName in LookupMemberExpr()
1226 << IV->getDeclName(); in LookupMemberExpr()
1230 << IV->getDeclName(); in LookupMemberExpr()
DSemaDeclCXX.cpp92 << Param->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
100 << VDecl->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
493 << New->getDeclName() in MergeCXXFunctionDecl()
1077 << CXXBaseDecl->getDeclName(); in CheckBaseSpecifier()
1079 << CXXBaseDecl->getDeclName(); in CheckBaseSpecifier()
1424 << MD->getDeclName(); in CheckOverrideControl()
1438 << New->getDeclName(); in CheckIfOverriddenFunctionIsMarkedFinal()
2518 LookupResult MemberLookup(SemaRef, Field->getDeclName(), Loc, in BuildImplicitMemberInitializer()
2677 << 0 << Field->getDeclName(); in BuildImplicitMemberInitializer()
2687 << 1 << Field->getDeclName(); in BuildImplicitMemberInitializer()
[all …]
DSema.cpp599 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
602 << /*function*/0 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
607 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
615 << /*variable*/1 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
618 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()
DSemaAccess.cpp240 if (From->getDeclName() != To->getDeclName()) in MightInstantiateTo()
344 if (Context->getDeclName() != Friend->getDeclName()) in MightInstantiateTo()
461 if (CTD->getDeclName() != Friend->getDeclName()) in MatchesFriend()
1219 << (D ? D->getDeclName() : DeclarationName()) in DiagnoseBadAccess()
DSemaExpr.cpp95 S.Diag(Loc, diag::err_unavailable) << D->getDeclName(); in DiagnoseAvailabilityOfDecl()
98 << D->getDeclName(); in DiagnoseAvailabilityOfDecl()
102 << D->getDeclName() << Message; in DiagnoseAvailabilityOfDecl()
168 << D->getDeclName(); in DiagnoseUseOfDecl()
184 Diag(Loc, diag::warn_used_but_marked_unused) << D->getDeclName(); in DiagnoseUseOfDecl()
265 Diag(Loc, diag::warn_not_enough_argument) << D->getDeclName(); in DiagnoseSentinelCalls()
1272 DeclarationNameInfo NameInfo(D->getDeclName(), Loc); in BuildDeclRefExpr()
1830 << IV->getDeclName()); in LookupInObjCMethod()
1845 Diag(Loc, diag::error_private_ivar_access) << IV->getDeclName(); in LookupInObjCMethod()
1876 Diag(Loc, diag::warn_ivar_use_hidden) << IV->getDeclName(); in LookupInObjCMethod()
[all …]
DSemaTemplate.cpp462 << cast<NamedDecl>(PrevDecl)->getDeclName(); in DiagnoseTemplateParameterShadow()
1902 << Template->getDeclName(); in NoteAllFoundTemplates()
1911 << 0 << (*I)->getDeclName(); in NoteAllFoundTemplates()
1977 AliasTemplate->getDeclName()); in CheckTemplateIdType()
2501 Param->getDeclName()); in SubstDefaultTemplateArgument()
2731 NTTP->getDeclName()); in CheckTemplateArgument()
3395 if (!Tag->getDeclName() && !Tag->getTypedefNameForAnonDecl()) { in VisitTagDecl()
5218 << ClassTemplate->getDeclName(); in ActOnClassTemplateSpecialization()
5343 if (Param->getDeclName()) in ActOnClassTemplateSpecialization()
5346 << Param->getDeclName(); in ActOnClassTemplateSpecialization()
[all …]
DSemaExprObjC.cpp1466 << Property->getDeclName(); in HandleExprPropertyRefExpr()
1484 << MemberName << QualType(OPT, 0) << Ivar->getDeclName() in HandleExprPropertyRefExpr()
1737 << Method->getDeclName(); in ActOnSuperMessage()
1922 << Method->getDeclName(); in BuildClassMessage()
2116 << Method->getDeclName(); in BuildInstanceMessage()
2339 << SelMethod->getDeclName(); in BuildInstanceMessage()
2349 << SelMethod->getDeclName(); in BuildInstanceMessage()
DSemaStmt.cpp350 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
944 UnhandledNames.push_back(EI->second->getDeclName()); in ActOnFinishSwitchStmt()
1971 << FD->getDeclName(); in ActOnReturnStmt()
2001 << CurDecl->getDeclName() << FunctionKind in ActOnReturnStmt()
2035 << CurDecl->getDeclName() << FunctionKind in ActOnReturnStmt()
2055 Diag(ReturnLoc, DiagID) << getCurMethodDecl()->getDeclName() << 1/*meth*/; in ActOnReturnStmt()
DSemaTemplateInstantiate.cpp1121 NTTP->getDeclName()); in TransformTemplateParmRefExpr()
1176 TemplateArgs, loc, parm->getDeclName()); in transformNonTypeTemplateParmRef()
1179 loc, parm->getDeclName()); in transformNonTypeTemplateParmRef()
1542 OldParm->getLocation(), OldParm->getDeclName()); in SubstParmVarDecl()
1564 OldParm->getDeclName()); in SubstParmVarDecl()
/external/clang/lib/AST/
DASTImporter.cpp859 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent()
861 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
870 << Field1->getDeclName() << Field1->getType() in IsStructurallyEquivalent()
873 << Field2->getDeclName(); in IsStructurallyEquivalent()
876 << Field2->getDeclName() << Field2->getType() in IsStructurallyEquivalent()
879 << Field1->getDeclName(); in IsStructurallyEquivalent()
893 << Field2->getDeclName() << Field2->getType() << Bits2; in IsStructurallyEquivalent()
895 << Field1->getDeclName() << Field1->getType() << Bits1; in IsStructurallyEquivalent()
910 << D1->getDeclName() << (unsigned)D1->getTagKind(); in IsStructurallyEquivalent()
1015 << Field1->getDeclName() << Field1->getType(); in IsStructurallyEquivalent()
[all …]
DDecl.cpp418 if (!Tag->getDeclName() && !Tag->getTypedefNameForAnonDecl()) in getLVForNamespaceScopeDecl()
481 (D->getDeclName() || cast<TagDecl>(D)->getTypedefNameForAnonDecl())))) in getLVForClassMember()
902 if (getDeclName()) in getQualifiedNameAsString()
911 assert(getDeclName() == OldD->getDeclName() && "Declaration name mismatch"); in declarationReplaces()
1685 assert(getDeclName().getNameKind() == DeclarationName::CXXOperatorName); in isReservedGlobalPlacementOperator()
1686 assert(getDeclName().getCXXOverloadedOperator() == OO_New || in isReservedGlobalPlacementOperator()
1687 getDeclName().getCXXOverloadedOperator() == OO_Delete || in isReservedGlobalPlacementOperator()
1688 getDeclName().getCXXOverloadedOperator() == OO_Array_New || in isReservedGlobalPlacementOperator()
1689 getDeclName().getCXXOverloadedOperator() == OO_Array_Delete); in isReservedGlobalPlacementOperator()
1735 if (!Namespace->getDeclName()) in isGlobal()
[all …]
DDeclBase.cpp1033 if (!ND->getDeclName()) return; in removeDecl()
1038 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); in removeDecl()
1091 if (!D->getDeclName()) in shouldBeHidden()
1227 if (ND->getDeclName() == Name) in localUncachedLookup()
1342 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl()
1343 Source->FindExternalVisibleDeclsByName(this, D->getDeclName()); in makeDeclVisibleInContextImpl()
1346 StoredDeclsList &DeclNameEntries = (*Map)[D->getDeclName()]; in makeDeclVisibleInContextImpl()
DMicrosoftMangle.cpp49 mangleUnqualifiedName(ND, ND->getDeclName()); in mangleUnqualifiedName()
135 !FD->getDeclName().isIdentifier())) in shouldMangleDeclName()
320 assert(D->getDeclName().getAsIdentifierInfo() && in mangleUnqualifiedName()
322 mangleSourceName(D->getDeclName().getAsIdentifierInfo()); in mangleUnqualifiedName()
DItaniumMangle.cpp297 mangleUnqualifiedName(ND, ND->getDeclName(), UnknownArity); in mangleUnqualifiedName()
391 !FD->getDeclName().isIdentifier())) in shouldMangleDeclName()
1116 assert(D->getDeclName().getAsIdentifierInfo() && in mangleUnqualifiedName()
1118 mangleSourceName(D->getDeclName().getAsIdentifierInfo()); in mangleUnqualifiedName()
1456 mangleUnqualifiedName(0, (*Overloaded->begin())->getDeclName(), in mangleTemplatePrefix()
2528 ME->getQualifier(), 0, ME->getMemberDecl()->getDeclName(), in mangleExpression()
2806 mangleUnresolvedName(DRE->getQualifier(), 0, DRE->getDeclName(), Arity); in mangleExpression()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp170 Writer.AddDeclarationName(D->getDeclName(), Record); in VisitNamedDecl()
196 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitTypedefDecl()
254 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitEnumDecl()
277 D->getDeclName().getNameKind() == DeclarationName::Identifier) in VisitRecordDecl()
310 Writer.AddDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record); in VisitFunctionDecl()
518 D->getDeclName()) in VisitObjCIvarDecl()
633 if (!D->getDeclName()) in VisitFieldDecl()
648 D->getDeclName()) in VisitFieldDecl()
700 D->getDeclName().getNameKind() == DeclarationName::Identifier && in VisitVarDecl()
873 Writer.AddDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record); in VisitUsingDecl()
[all …]
DASTReaderDecl.cpp500 ReadDeclarationNameLoc(FD->DNLoc, FD->getDeclName(), Record, Idx); in VisitFunctionDecl()
868 if (!FD->getDeclName()) { in VisitFieldDecl()
1027 ReadDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record, Idx); in VisitUsingDecl()
1056 ReadDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record, Idx); in VisitUnresolvedUsingValueDecl()
1694 assert(X->getDeclName() == Y->getDeclName() && "Declaration name mismatch!"); in isSameEntity()
1759 Reader.SemaObj->IdResolver.tryAddTopLevelDecl(New, New->getDeclName()); in ~FindExistingResult()
1766 DeclarationName Name = D->getDeclName(); in findExisting()
2340 if (Cat->getDeclName()) { in add()
2341 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; in add()
2357 << Interface->getDeclName() << Cat->getDeclName(); in add()
[all …]
/external/clang/include/clang/Sema/
DTypoCorrection.h52 : CorrectionName(Name->getDeclName()), CorrectionNameSpec(NNS),
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp433 if (!Packed && !D->getDeclName()) in LayoutField()
546 if (field->getDeclName() && !checkedFirstFieldZeroInit) { in LayoutUnion()
1083 if (!FD->getDeclName()) { in ComputeRecordLayout()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp582 Out << DR->getDecl()->getDeclName().getAsString(); in patternMatch()
753 VD->getDeclName().printName(Out); in VisitTrueTest()

123