Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DUnresolvedSet.h92 void addDecl(NamedDecl *D) { in addDecl() function
93 addDecl(D, AS_none); in addDecl()
96 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
H A DASTUnresolvedSet.h56 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl() function
H A DDeclObjC.h2490 addDecl(method); in addInstanceMethod()
2496 addDecl(method); in addClassMethod()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp79 HLSLNamespace->addDecl(Record); in ~BuiltinTypeDeclBuilder()
99 Record->addDecl(Field); in addMemberVariable()
205 Record->addDecl(Constructor); in addDefaultHandleConstructor()
290 Record->addDecl(MethodDecl); in addArraySubscriptOperator()
363 Builder.Record->getDeclContext()->addDecl(Builder.Template); in finalizeTemplateArgs()
407 AST.getTranslationUnitDecl()->addDecl(HLSLNamespace); in InitializeSema()
425 AST.getTranslationUnitDecl()->addDecl(UsingDecl); in InitializeSema()
480 HLSLNamespace->addDecl(Template); in defineHLSLVectorAlias()
H A DSemaModule.cpp495 CurContext->addDecl(Import); in ActOnModuleDecl()
692 CurContext->addDecl(Import); in ActOnModuleImport()
746 TU->addDecl(ImportD); in BuildModuleInclude()
836 TU->addDecl(ImportD); in createImplicitModuleImportForErrorRecovery()
851 CurContext->addDecl(D); in ActOnStartExportDecl()
H A DSemaTemplateInstantiateDecl.cpp982 Owner->addDecl(Inst); in VisitLabelDecl()
1001 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
1088 Owner->addDecl(Typedef); in VisitTypedefDecl()
1095 Owner->addDecl(Typedef); in VisitTypeAliasDecl()
1153 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
1355 Owner->addDecl(Field); in VisitFieldDecl()
1400 Owner->addDecl(Property); in VisitMSPropertyDecl()
1429 Owner->addDecl(IndirectField); in VisitIndirectFieldDecl()
1455 Owner->addDecl(FD); in VisitFriendDecl()
1474 Owner->addDecl(FD); in VisitFriendDecl()
[all …]
H A DSemaLambda.cpp261 DC->addDecl(Class); in createLambdaClosureType()
1031 LSI->Lambda->addDecl(TemplateMethod); in CompleteLambdaCallOperator()
1034 LSI->Lambda->addDecl(Method); in CompleteLambdaCallOperator()
1778 Class->addDecl(ConversionTemplate); in addFunctionPointerConversion()
1780 Class->addDecl(Conversion); in addFunctionPointerConversion()
1821 Class->addDecl(StaticInvokerTemplate); in addFunctionPointerConversion()
1823 Class->addDecl(Invoke); in addFunctionPointerConversion()
1879 Class->addDecl(Conversion); in addBlockPointerConversion()
2059 RD->addDecl(Field); in BuildCaptureField()
H A DSemaLookup.cpp661 addDecl(*DI); in addDeclsFromBasePaths()
908 LR.addDecl(NewOpenCLBuiltin); in InsertOCLBuiltinDeclarationsFromTable()
929 R.addDecl(getASTContext().getMakeIntegerSeqDecl()); in LookupBuiltin()
932 R.addDecl(getASTContext().getTypePackElementDecl()); in LookupBuiltin()
968 R.addDecl(D); in LookupBuiltin()
1126 R.addDecl(D); in LookupDirect()
1169 R.addDecl(ConvTemplate); in LookupDirect()
1205 R.addDecl(Specialization); in LookupDirect()
1356 R.addDecl(ND); in CppLookupName()
1399 R.addDecl(ND); in CppLookupName()
[all …]
H A DSemaDeclCXX.cpp4899 MemberLookup.addDecl(Indirect ? cast<ValueDecl>(Indirect) in BuildImplicitMemberInitializer()
11648 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef()
11675 Parent->addDecl(UD); in ActOnStartNamespaceDef()
11872 Context.getTranslationUnitDecl()->addDecl(getStdNamespace()); in getOrCreateStdNamespace()
12092 R.addDecl(Corrected.getFoundDecl()); in TryNamespaceTypoCorrection()
12128 R.addDecl(getOrCreateStdNamespace()); in ActOnUsingDirective()
12187 Ctx->addDecl(UDir); in PushUsingDirective()
12563 CurContext->addDecl(Shadow); in BuildUsingShadowDecl()
12791 CurContext->addDecl(D); in BuildUsingDeclaration()
12801 CurContext->addDecl(UD); in BuildUsingDeclaration()
[all …]
H A DSemaCXXScopeSpec.cpp478 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
569 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
H A DSemaDeclObjC.cpp1838 SemaRef.CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1886 SemaRef.CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1950 SemaRef.CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation()
2158 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
2191 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
4008 OID->addDecl(Getter); in ActOnAtEnd()
4011 OID->addDecl(Setter); in ActOnAtEnd()
5000 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod); in ActOnMethodDeclaration()
5150 Record->addDecl(FD); in ActOnDefs()
H A DSemaTemplate.cpp524 Found.addDecl(ND); in LookupTemplateName()
2157 CurContext->addDecl(Friend); in CheckClassTemplate()
4124 CurContext->addDecl(Specialization); in ActOnVarTemplateSpecialization()
4131 Previous.addDecl(PrevDecl); in ActOnVarTemplateSpecialization()
8421 CurContext->addDecl(Friend); in ActOnClassTemplateSpecialization()
8426 CurContext->addDecl(Specialization); in ActOnClassTemplateSpecialization()
8884 Candidates.addDecl(Specialization, I.getAccess()); in CheckFunctionTemplateSpecialization()
9049 Previous.addDecl(Specialization); in CheckFunctionTemplateSpecialization()
9168 Previous.addDecl(FoundInstantiation); in CheckMemberSpecialization()
9239 Previous.addDecl(FoundInstantiation); in CheckMemberSpecialization()
[all …]
H A DSemaObjCProperty.cpp616 DC->addDecl(PDecl); in CreatePropertyDecl()
1322 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
2476 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2562 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
H A DSemaStmt.cpp4414 DC->addDecl(RD); in CreateCapturedStmtRecordDecl()
4420 DC->addDecl(CD); in CreateCapturedStmtRecordDecl()
4480 DC->addDecl(Param); in ActOnCapturedRegionStart()
4521 DC->addDecl(Param); in ActOnCapturedRegionStart()
4529 DC->addDecl(Param); in ActOnCapturedRegionStart()
4541 DC->addDecl(Param); in ActOnCapturedRegionStart()
H A DSemaAttr.cpp523 Context.getTranslationUnitDecl()->addDecl(PCD); in ActOnPragmaMSComment()
531 Context.getTranslationUnitDecl()->addDecl(PDMD); in ActOnPragmaDetectMismatch()
H A DSemaTemplateDeductionGuide.cpp227 DC->addDecl(Guide);
239 DC->addDecl(GuideTemplate);
H A DSemaDecl.cpp1007 Result.addDecl(FirstDecl); in ClassifyName()
1255 Result.addDecl(Found); in ActOnNameClassifiedAsNonType()
1275 Result.addDecl(*I, I.getAccess()); in ActOnNameClassifiedAsOverloadSet()
1506 CurContext->addDecl(D); in PushOnScopeChains()
2293 Parent->addDecl(CLinkageDecl); in CreateBuiltin()
5691 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion()
5745 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct()
8373 Previous.addDecl(Prev); in checkGlobalOrExternCConflict()
8449 Previous.addDecl(Prev); in checkForConflictWithNonVisibleExternC()
9000 Previous.addDecl(FD); in DiagnoseInvalidRedeclaration()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp175 ast_ctx.getTranslationUnitDecl()->addDecl(new_iface_decl); in GetDeclForISA()
449 interface_decl->addDecl(method_decl); in FinishDecl()
467 interface_decl->addDecl(method_decl); in FinishDecl()
498 interface_decl->addDecl(ivar_decl); in FinishDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DLookup.h475 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 DTypeSystemClang.cpp1287 decl_ctx->addDecl(decl); in CreateRecordType()
1316 cxx_record_decl->addDecl( in AddAccessSpecifierDecl()
1610 decl_ctx->addDecl(class_template_decl); in CreateClassTemplateDecl()
1669 decl_ctx->addDecl(class_template_specialization_decl); in CreateClassTemplateSpecializationDecl()
1872 decl_ctx->addDecl(namespace_decl); in GetUniqueNamespaceDeclaration()
1883 translation_unit_decl->addDecl(namespace_decl); in GetUniqueNamespaceDeclaration()
1895 parent_namespace_decl->addDecl(namespace_decl); in GetUniqueNamespaceDeclaration()
1919 ctx->addDecl(decl); in CreateBlockDeclaration()
1954 decl_ctx->addDecl(using_decl); in CreateUsingDirectiveDeclaration()
1975 current_decl_ctx->addDecl(using_decl); in CreateUsingDeclaration()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp380 DC->addDecl(result_decl); in SynthesizeBodyResult()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp924 Conversions.addDecl(Ctx, Primary, AS); in addedMember()
1411 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember()
1802 VOutput.addDecl(I.getDecl(), IAccess); in CollectVisibleConversions()
1804 Output.addDecl(Context, I.getDecl(), IAccess); in CollectVisibleConversions()
1865 Output.addDecl(Context, I.getDecl(), I.getAccess()); in CollectVisibleConversions()
H A DASTContext.cpp1152 getTranslationUnitDecl()->addDecl(BuiltinTemplate); in buildBuiltinTemplateDecl()
1454 getTranslationUnitDecl()->addDecl(MSGuidTagDecl); in InitBuiltinTypes()
7798 CFConstantStringTagDecl->addDecl(Field); in getCFConstantStringDecl()
7825 getTranslationUnitDecl()->addDecl(ObjCSuperTypeDecl); in getObjCSuperType()
7864 RD->addDecl(Field); in getBlockDescriptorType()
7904 RD->addDecl(Field); in getBlockDescriptorExtendedType()
9264 VaListTagDecl->addDecl(Field); in CreateAArch64ABIBuiltinVaListDecl()
9316 VaListTagDecl->addDecl(Field); in CreatePowerABIBuiltinVaListDecl()
9375 VaListTagDecl->addDecl(Field); in CreateX86_64ABIBuiltinVaListDecl()
9428 VaListDecl->addDecl(Field); in CreateAAPCSABIBuiltinVaListDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp3174 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
3177 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
3320 CommonLateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
3323 LateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
H A DParseCXXInlineMethods.cpp763 LAs[i]->addDecl(D); in ParseLexedAttributeList()

12