| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | UnresolvedSet.h | 91 void addDecl(NamedDecl *D) { in addDecl() function 92 addDecl(D, AS_none); in addDecl() 95 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
|
| H A D | ASTUnresolvedSet.h | 56 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl() function
|
| H A D | DeclObjC.h | 2490 addDecl(method); in addInstanceMethod() 2496 addDecl(method); in addClassMethod()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | HLSLExternalSemaSource.cpp | 48 AST.getTranslationUnitDecl()->addDecl(HLSLNamespace); in InitializeSema() 66 AST.getTranslationUnitDecl()->addDecl(UsingDecl); in InitializeSema() 121 HLSLNamespace->addDecl(Template); in defineHLSLVectorAlias() 258 NSD->getDeclContext()->addDecl(CD); in constructBufferConceptDecl()
|
| H A D | SemaModule.cpp | 498 CurContext->addDecl(Import); in ActOnModuleDecl() 705 CurContext->addDecl(Import); in ActOnModuleImport() 760 TU->addDecl(ImportD); in BuildModuleInclude() 850 TU->addDecl(ImportD); in createImplicitModuleImportForErrorRecovery() 865 CurContext->addDecl(D); in ActOnStartExportDecl()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1056 Owner->addDecl(Inst); in VisitLabelDecl() 1433 Owner->addDecl(Inst); in VisitNamespaceAliasDecl() 1522 Owner->addDecl(Typedef); in VisitTypedefDecl() 1529 Owner->addDecl(Typedef); in VisitTypeAliasDecl() 1587 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl() 1817 Owner->addDecl(Field); in VisitFieldDecl() 1862 Owner->addDecl(Property); in VisitMSPropertyDecl() 1891 Owner->addDecl(IndirectField); in VisitIndirectFieldDecl() 1937 Owner->addDecl(FD); in VisitFriendDecl() 1956 Owner->addDecl(FD); in VisitFriendDecl() [all …]
|
| H A D | SemaLookup.cpp | 664 addDecl(*DI); in addDeclsFromBasePaths() 911 LR.addDecl(NewOpenCLBuiltin); in InsertOCLBuiltinDeclarationsFromTable() 935 R.addDecl(getASTContext().get##BIName##Decl()); \ in LookupBuiltin() 944 R.addDecl(getASTContext().get##BIName##Decl()); \ in LookupBuiltin() 983 R.addDecl(D); in LookupBuiltin() 1141 R.addDecl(D); in LookupDirect() 1184 R.addDecl(ConvTemplate); in LookupDirect() 1220 R.addDecl(Specialization); in LookupDirect() 1371 R.addDecl(ND); in CppLookupName() 1414 R.addDecl(ND); in CppLookupName() [all …]
|
| H A D | HLSLBuiltinTypeDeclBuilder.cpp | 313 Builder.Record->getDeclContext()->addDecl(Builder.Template); in finalizeTemplateArgs() 519 DeclBuilder.Record->addDecl(Method); in finalize() 570 HLSLNamespace->addDecl(Record); in ~BuiltinTypeDeclBuilder() 607 Record->addDecl(Field); in addMemberVariable()
|
| H A D | SemaLambda.cpp | 259 DC->addDecl(Class); in createLambdaClosureType() 1055 LSI->Lambda->addDecl(TemplateMethod); in CompleteLambdaCallOperator() 1058 LSI->Lambda->addDecl(Method); in CompleteLambdaCallOperator() 1803 Class->addDecl(ConversionTemplate); in addFunctionPointerConversion() 1805 Class->addDecl(Conversion); in addFunctionPointerConversion() 1846 Class->addDecl(StaticInvokerTemplate); in addFunctionPointerConversion() 1848 Class->addDecl(Invoke); in addFunctionPointerConversion() 1903 Class->addDecl(Conversion); in addBlockPointerConversion() 2094 RD->addDecl(Field); in BuildCaptureField()
|
| H A D | SemaCXXScopeSpec.cpp | 473 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier() 564 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
|
| H A D | SemaDeclCXX.cpp | 4991 MemberLookup.addDecl(Indirect ? cast<ValueDecl>(Indirect) in BuildImplicitMemberInitializer() 11889 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef() 11916 Parent->addDecl(UD); in ActOnStartNamespaceDef() 12114 Context.getTranslationUnitDecl()->addDecl(getStdNamespace()); in getOrCreateStdNamespace() 12420 R.addDecl(Corrected.getFoundDecl()); in TryNamespaceTypoCorrection() 12456 R.addDecl(getOrCreateStdNamespace()); in ActOnUsingDirective() 12515 Ctx->addDecl(UDir); in PushUsingDirective() 12890 CurContext->addDecl(Shadow); in BuildUsingShadowDecl() 13122 CurContext->addDecl(D); in BuildUsingDeclaration() 13132 CurContext->addDecl(UD); in BuildUsingDeclaration() [all …]
|
| H A D | SemaDeclObjC.cpp | 1841 SemaRef.CurContext->addDecl(CDecl); in ActOnStartCategoryInterface() 1889 SemaRef.CurContext->addDecl(CDecl); in ActOnStartCategoryInterface() 1953 SemaRef.CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation() 2167 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars() 2200 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars() 4010 OID->addDecl(Getter); in ActOnAtEnd() 4013 OID->addDecl(Setter); in ActOnAtEnd() 5004 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod); in ActOnMethodDeclaration() 5154 Record->addDecl(FD); in ActOnDefs()
|
| H A D | SemaTemplate.cpp | 521 Found.addDecl(ND); in LookupTemplateName() 2201 CurContext->addDecl(Friend); in CheckClassTemplate() 4417 CurContext->addDecl(Specialization); in ActOnVarTemplateSpecialization() 4424 Previous.addDecl(PrevDecl); in ActOnVarTemplateSpecialization() 8861 CurContext->addDecl(Friend); in ActOnClassTemplateSpecialization() 8866 CurContext->addDecl(Specialization); in ActOnClassTemplateSpecialization() 9372 Candidates.addDecl(Specialization, I.getAccess()); in CheckFunctionTemplateSpecialization() 9548 Previous.addDecl(Specialization); in CheckFunctionTemplateSpecialization() 9593 Candidates.addDecl(Candidate); in CheckMemberSpecialization() 9696 Previous.addDecl(FoundInstantiation); in CheckMemberSpecialization() [all …]
|
| H A D | SemaObjCProperty.cpp | 617 DC->addDecl(PDecl); in CreatePropertyDecl() 1332 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl() 2485 CD->addDecl(GetterMethod); in ProcessPropertyDecl() 2571 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
|
| H A D | SemaStmt.cpp | 4546 DC->addDecl(RD); in CreateCapturedStmtRecordDecl() 4552 DC->addDecl(CD); in CreateCapturedStmtRecordDecl() 4630 DC->addDecl(Param); in ActOnCapturedRegionStart() 4674 DC->addDecl(Param); in ActOnCapturedRegionStart() 4682 DC->addDecl(Param); in ActOnCapturedRegionStart() 4694 DC->addDecl(Param); in ActOnCapturedRegionStart()
|
| H A D | SemaTemplateDeductionGuide.cpp | 228 DC->addDecl(Guide); 240 DC->addDecl(GuideTemplate);
|
| H A D | SemaDecl.cpp | 1024 Result.addDecl(FirstDecl); in ClassifyName() 1272 Result.addDecl(Found); in ActOnNameClassifiedAsNonType() 1292 Result.addDecl(*I, I.getAccess()); in ActOnNameClassifiedAsOverloadSet() 1523 CurContext->addDecl(D); in PushOnScopeChains() 2311 Parent->addDecl(CLinkageDecl); in CreateBuiltin() 5805 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion() 5859 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct() 8572 Previous.addDecl(Prev); in checkGlobalOrExternCConflict() 8648 Previous.addDecl(Prev); in checkForConflictWithNonVisibleExternC() 9215 Previous.addDecl(FD); in DiagnoseInvalidRedeclaration() [all …]
|
| H A D | SemaAttr.cpp | 624 Context.getTranslationUnitDecl()->addDecl(PCD); in ActOnPragmaMSComment() 632 Context.getTranslationUnitDecl()->addDecl(PDMD); in ActOnPragmaDetectMismatch()
|
| H A D | SemaHLSL.cpp | 527 LS->addDecl(NewFD); in createHostLayoutStruct() 534 DC->addDecl(LS); in createHostLayoutStruct() 566 LS->addDecl(FD); in createHostLayoutStructForBuffer() 2416 SemaRef.getCurLexicalContext()->addDecl(DefaultCBuffer); in ActOnEndOfTranslationUnit()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCDeclVendor.cpp | 176 ast_ctx.getTranslationUnitDecl()->addDecl(new_iface_decl); in GetDeclForISA() 450 interface_decl->addDecl(method_decl); in FinishDecl() 468 interface_decl->addDecl(method_decl); in FinishDecl() 499 interface_decl->addDecl(ivar_decl); in FinishDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Lookup.h | 475 void addDecl(NamedDecl *D) { in addDecl() function 476 addDecl(D, D->getAccess()); in addDecl() 481 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function 482 Decls.addDecl(D, AS); in addDecl()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 1310 decl_ctx->addDecl(decl); in CreateRecordType() 1347 cxx_record_decl->addDecl( in AddAccessSpecifierDecl() 1624 decl_ctx->addDecl(class_template_decl); in CreateClassTemplateDecl() 1689 decl_ctx->addDecl(class_template_specialization_decl); in CreateClassTemplateSpecializationDecl() 1891 decl_ctx->addDecl(namespace_decl); in GetUniqueNamespaceDeclaration() 1902 translation_unit_decl->addDecl(namespace_decl); in GetUniqueNamespaceDeclaration() 1914 parent_namespace_decl->addDecl(namespace_decl); in GetUniqueNamespaceDeclaration() 1938 ctx->addDecl(decl); in CreateBlockDeclaration() 1973 decl_ctx->addDecl(using_decl); in CreateUsingDirectiveDeclaration() 1994 current_decl_ctx->addDecl(using_decl); in CreateUsingDeclaration() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ASTResultSynthesizer.cpp | 372 DC->addDecl(result_decl); in SynthesizeBodyResult()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 931 Conversions.addDecl(Ctx, Primary, AS); in addedMember() 1483 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember() 1919 VOutput.addDecl(I.getDecl(), IAccess); in CollectVisibleConversions() 1921 Output.addDecl(Context, I.getDecl(), IAccess); in CollectVisibleConversions() 1982 Output.addDecl(Context, I.getDecl(), I.getAccess()); in CollectVisibleConversions()
|
| H A D | ASTContext.cpp | 1216 getTranslationUnitDecl()->addDecl(BuiltinTemplate); in buildBuiltinTemplateDecl() 1517 getTranslationUnitDecl()->addDecl(MSGuidTagDecl); in InitBuiltinTypes() 8394 CFConstantStringTagDecl->addDecl(Field); in getCFConstantStringDecl() 8421 getTranslationUnitDecl()->addDecl(ObjCSuperTypeDecl); in getObjCSuperType() 8459 RD->addDecl(Field); in getBlockDescriptorType() 8499 RD->addDecl(Field); in getBlockDescriptorExtendedType() 9878 VaListTagDecl->addDecl(Field); in CreateAArch64ABIBuiltinVaListDecl() 9930 VaListTagDecl->addDecl(Field); in CreatePowerABIBuiltinVaListDecl() 9989 VaListTagDecl->addDecl(Field); in CreateX86_64ABIBuiltinVaListDecl() 10042 VaListDecl->addDecl(Field); in CreateAAPCSABIBuiltinVaListDecl() [all …]
|