/external/clang/include/clang/AST/ |
D | UnresolvedSet.h | 111 void addDecl(NamedDecl *D) { in addDecl() function 112 addDecl(D, AS_none); in addDecl() 115 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
|
D | DeclObjC.h | 1132 addDecl(method); in addInstanceMethod() 1137 addDecl(method); in addClassMethod()
|
D | DeclBase.h | 1214 void addDecl(Decl *D);
|
/external/clang/include/clang/Sema/ |
D | Lookup.h | 336 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/ |
D | SemaTemplateInstantiateDecl.cpp | 107 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 …]
|
D | SemaLookup.cpp | 445 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 …]
|
D | SemaDeclObjC.cpp | 430 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()
|
D | SemaDeclCXX.cpp | 1971 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 …]
|
D | SemaCXXScopeSpec.cpp | 449 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier() 501 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
|
D | SemaObjCProperty.cpp | 183 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()
|
D | SemaTemplate.cpp | 304 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 …]
|
D | SemaDecl.cpp | 469 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 …]
|
D | SemaExprMember.cpp | 589 R.addDecl(ND); in LookupMemberExprInRecord() 1387 PlausibleOverloads.addDecl(It.getDecl()); in LookupMemberExpr()
|
D | Sema.cpp | 835 NonTemplateOverloads.addDecl(*it); in isExprCallable()
|
D | TreeTransform.h | 1234 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()
|
D | SemaExpr.cpp | 1408 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/ |
D | ASTImporter.cpp | 2002 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 …]
|
D | DeclCXX.cpp | 645 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()
|
D | DeclObjC.cpp | 951 addDecl(property); in addPropertyImplementation()
|
D | DeclBase.cpp | 1019 void DeclContext::addDecl(Decl *D) { in addDecl() function in DeclContext
|
D | ASTContext.cpp | 3641 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/ |
D | CGObjCMac.cpp | 4147 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/ |
D | ASTReaderDecl.cpp | 413 TemplDecls.addDecl(cast<NamedDecl>(Reader.GetDecl(Record[Idx++]))); in VisitFunctionDecl()
|
D | ASTReader.cpp | 4785 Decls.addDecl(cast<NamedDecl>(GetDecl(Record[Idx++]))); in ReadTemplateName() 4909 Set.addDecl(D, AS); in ReadUnresolvedSet()
|
D | ASTReaderStmt.cpp | 1196 Decls.addDecl(D, AS); in VisitOverloadExpr()
|