Home
last modified time | relevance | path

Searched refs:addDecl (Results 1 – 25 of 28) sorted by relevance

12

/external/clang/include/clang/AST/
DUnresolvedSet.h111 void addDecl(NamedDecl *D) { in addDecl() function
112 addDecl(D, AS_none); in addDecl()
115 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
DDeclObjC.h1132 addDecl(method); in addInstanceMethod()
1137 addDecl(method); in addClassMethod()
DDeclBase.h1214 void addDecl(Decl *D);
/external/clang/include/clang/Sema/
DLookup.h336 void addDecl(NamedDecl *D) { in addDecl() function
337 addDecl(D, D->getAccess()); in addDecl()
342 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
343 Decls.addDecl(D, AS); in addDecl()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp107 Owner->addDecl(Inst); in VisitLabelDecl()
127 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
187 Owner->addDecl(Typedef); in VisitTypedefDecl()
193 Owner->addDecl(Typedef); in VisitTypeAliasDecl()
234 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
361 D->getLexicalDeclContext()->addDecl(Var); in VisitVarDecl()
364 Owner->addDecl(Var); in VisitVarDecl()
506 Owner->addDecl(Field); in VisitFieldDecl()
536 Owner->addDecl(IndirectField); in VisitIndirectFieldDecl()
564 Owner->addDecl(FD); in VisitFriendDecl()
[all …]
DSemaLookup.cpp445 addDecl(*DI); in addDeclsFromBasePaths()
499 R.addDecl(D); in LookupBuiltin()
633 R.addDecl(D); in LookupDirect()
667 R.addDecl(ConvTemplate); in LookupDirect()
705 R.addDecl(Specialization); in LookupDirect()
860 R.addDecl(*I); in CppLookupName()
910 R.addDecl(Ivar); in CppLookupName()
966 R.addDecl(*I); in CppLookupName()
1106 R.addDecl(*I); in LookupName()
1123 R.addDecl(*LastI); in LookupName()
[all …]
DSemaDeclObjC.cpp430 CurContext->addDecl(IDecl); in ActOnStartClassInterface()
631 CurContext->addDecl(PDecl); in ActOnStartProtocolInterface()
754 CurContext->addDecl(PDecl); in ActOnForwardProtocolDeclaration()
792 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
862 CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation()
1012 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
1036 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
1664 CurContext->addDecl(CDecl); in ActOnForwardClassDeclaration()
2430 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod); in ActOnMethodDeclaration()
2554 Record->addDecl(FD); in ActOnDefs()
DSemaDeclCXX.cpp1971 MemberLookup.addDecl(Field, AS_public); in BuildImplicitMemberInitializer()
4752 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef()
4780 CurContext->addDecl(UD); in ActOnStartNamespaceDef()
4875 R.addDecl(Corrected.getCorrectionDecl()); in TryNamespaceTypoCorrection()
4917 R.addDecl(getOrCreateStdNamespace()); in ActOnUsingDirective()
4968 Ctx->addDecl(UDir); in PushUsingDirective()
5219 CurContext->addDecl(Shadow); in BuildUsingShadowDecl()
5345 CurContext->addDecl(D); in BuildUsingDeclaration()
5983 ClassDecl->addDecl(DefaultCon); in DeclareImplicitDefaultConstructor()
6245 ClassDecl->addDecl(NewCtor); in DeclareInheritedConstructors()
[all …]
DSemaCXXScopeSpec.cpp449 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
501 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
DSemaObjCProperty.cpp183 DC->addDecl(PDecl); in HandlePropertyInClassExtension()
319 DC->addDecl(PDecl); in CreatePropertyDecl()
653 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
1498 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
1549 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
DSemaTemplate.cpp304 Found.addDecl(Corrected.getCorrectionDecl()); in LookupTemplateName()
1052 CurContext->addDecl(Friend); in CheckClassTemplate()
5095 CurContext->addDecl(Friend); in ActOnClassTemplateSpecialization()
5100 CurContext->addDecl(Specialization); in ActOnClassTemplateSpecialization()
5412 Candidates.addDecl(Specialization, I.getAccess()); in CheckFunctionTemplateSpecialization()
5496 Previous.addDecl(Specialization); in CheckFunctionTemplateSpecialization()
5579 Previous.addDecl(Instantiation); in CheckMemberSpecialization()
5663 Previous.addDecl(Instantiation); in CheckMemberSpecialization()
5890 CurContext->addDecl(Specialization); in ActOnExplicitInstantiation()
6227 Matches.addDecl(Method, P.getAccess()); in ActOnExplicitInstantiation()
[all …]
DSemaDecl.cpp469 Result.addDecl(D); in ClassifyName()
558 if (FirstDecl) Result.addDecl(FirstDecl); in ClassifyName()
841 CurContext->addDecl(D); in PushOnScopeChains()
2674 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion()
2738 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct()
4002 Previous.addDecl(Pos->second); in CheckVariableDeclaration()
4954 Previous.addDecl(Pos->second); in CheckFunctionDeclaration()
5010 Previous.addDecl(OldDecl); in CheckFunctionDeclaration()
7062 Previous.addDecl(getStdBadAlloc()); in ActOnTag()
7153 Previous.addDecl(Tag); in ActOnTag()
[all …]
DSemaExprMember.cpp589 R.addDecl(ND); in LookupMemberExprInRecord()
1387 PlausibleOverloads.addDecl(It.getDecl()); in LookupMemberExpr()
DSema.cpp835 NonTemplateOverloads.addDecl(*it); in isExprCallable()
DTreeTransform.h1234 getSema().CurContext->addDecl(Var); in RebuildExceptionDecl()
1472 R.addDecl(FoundDecl); in RebuildMemberExpr()
7099 R.addDecl(*I); in TransformUnresolvedLookupExpr()
7103 R.addDecl(InstD); in TransformUnresolvedLookupExpr()
7551 R.addDecl(*I); in TransformUnresolvedMemberExpr()
7555 R.addDecl(InstD); in TransformUnresolvedMemberExpr()
8346 Functions.addDecl(cast<DeclRefExpr>(Callee)->getDecl()); in RebuildCXXOperatorCallExpr()
DSemaExpr.cpp1408 R.addDecl(ND); in DiagnoseEmptyLookup()
1546 ClassImpDecl->addDecl(Ivar); in SynthesizeProvisionalIvar()
1673 if (D) R.addDecl(D); in ActOnIdExpression()
1874 if (D) Lookup.addDecl(D); in LookupInObjCMethod()
8285 CurContext->addDecl(Block); in ActOnBlockStart()
/external/clang/lib/AST/
DASTImporter.cpp2002 LexicalDC->addDecl(ToNamespace); in VisitNamespaceDecl()
2080 LexicalDC->addDecl(ToTypedef); in VisitTypedefNameDecl()
2151 LexicalDC->addDecl(D2); in VisitEnumDecl()
2272 LexicalDC->addDecl(D2); in VisitRecordDecl()
2329 LexicalDC->addDecl(ToEnumerator); in VisitEnumConstantDecl()
2466 ToFunction->addDecl(Parameters[I]); in VisitFunctionDecl()
2473 LexicalDC->addDecl(ToFunction); in VisitFunctionDecl()
2522 LexicalDC->addDecl(ToField); in VisitFieldDecl()
2558 LexicalDC->addDecl(ToIndirectField); in VisitIndirectFieldDecl()
2607 LexicalDC->addDecl(ToIvar); in VisitObjCIvarDecl()
[all …]
DDeclCXX.cpp645 data().Conversions.addDecl(FunTmpl); in addedMember()
651 data().Conversions.addDecl(Conversion); in addedMember()
846 data().Conversions.addDecl(Shadow, Shadow->getAccess()); in addedMember()
908 VOutput.addDecl(I.getDecl(), IAccess); in CollectVisibleConversions()
910 Output.addDecl(I.getDecl(), IAccess); in CollectVisibleConversions()
972 Output.addDecl(I.getDecl(), I.getAccess()); in CollectVisibleConversions()
DDeclObjC.cpp951 addDecl(property); in addPropertyImplementation()
DDeclBase.cpp1019 void DeclContext::addDecl(Decl *D) { in addDecl() function in DeclContext
DASTContext.cpp3641 CFConstantStringTypeDecl->addDecl(Field); in getCFConstantStringType()
3683 NSConstantStringTypeDecl->addDecl(Field); in getNSConstantStringType()
3723 ObjCFastEnumerationStateTypeDecl->addDecl(Field); in getObjCFastEnumerationStateType()
3761 T->addDecl(Field); in getBlockDescriptorType()
3810 T->addDecl(Field); in getBlockDescriptorExtendedType()
3892 T->addDecl(Field); in BuildByRefType()
/external/clang/lib/CodeGen/
DCGObjCMac.cpp4147 RD->addDecl(FieldDecl::Create(Ctx, RD, SourceLocation(), SourceLocation(), 0, in ObjCCommonTypesHelper()
4149 RD->addDecl(FieldDecl::Create(Ctx, RD, SourceLocation(), SourceLocation(), 0, in ObjCCommonTypesHelper()
4553 RD->addDecl(FieldDecl::Create(Ctx, RD, SourceLocation(), SourceLocation(), 0, in ObjCNonFragileABITypesHelper()
4555 RD->addDecl(FieldDecl::Create(Ctx, RD, SourceLocation(), SourceLocation(), 0, in ObjCNonFragileABITypesHelper()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp413 TemplDecls.addDecl(cast<NamedDecl>(Reader.GetDecl(Record[Idx++]))); in VisitFunctionDecl()
DASTReader.cpp4785 Decls.addDecl(cast<NamedDecl>(GetDecl(Record[Idx++]))); in ReadTemplateName()
4909 Set.addDecl(D, AS); in ReadUnresolvedSet()
DASTReaderStmt.cpp1196 Decls.addDecl(D, AS); in VisitOverloadExpr()

12