Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp80 HLSLNamespace->addDecl(Record); in ~BuiltinTypeDeclBuilder()
100 Record->addDecl(Field); in addMemberVariable()
204 Record->addDecl(Constructor); in addDefaultHandleConstructor()
291 Record->addDecl(MethodDecl); in addArraySubscriptOperator()
359 Builder.Record->getDeclContext()->addDecl(Builder.Template); in finalizeTemplateArgs()
393 AST.getTranslationUnitDecl()->addDecl(HLSLNamespace); in InitializeSema()
411 AST.getTranslationUnitDecl()->addDecl(UsingDecl); in InitializeSema()
462 HLSLNamespace->addDecl(Template); in defineHLSLVectorAlias()
H A DSemaLambda.cpp256 DC->addDecl(Class); in createLambdaClosureType()
405 Class->addDecl(Method); in startLambdaDefinition()
419 Class->addDecl(TemplateMethod); in startLambdaDefinition()
1506 Class->addDecl(ConversionTemplate); in addFunctionPointerConversion()
1508 Class->addDecl(Conversion); in addFunctionPointerConversion()
1549 Class->addDecl(StaticInvokerTemplate); in addFunctionPointerConversion()
1551 Class->addDecl(Invoke); in addFunctionPointerConversion()
1607 Class->addDecl(Conversion); in addBlockPointerConversion()
1782 RD->addDecl(Field); in BuildCaptureField()
H A DSemaTemplateInstantiateDecl.cpp917 Owner->addDecl(Inst); in VisitLabelDecl()
936 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
1023 Owner->addDecl(Typedef); in VisitTypedefDecl()
1030 Owner->addDecl(Typedef); in VisitTypeAliasDecl()
1072 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
1274 Owner->addDecl(Field); in VisitFieldDecl()
1319 Owner->addDecl(Property); in VisitMSPropertyDecl()
1348 Owner->addDecl(IndirectField); in VisitIndirectFieldDecl()
1377 Owner->addDecl(FD); in VisitFriendDecl()
1396 Owner->addDecl(FD); in VisitFriendDecl()
[all …]
H A DSemaLookup.cpp647 addDecl(*DI); in addDeclsFromBasePaths()
894 LR.addDecl(NewOpenCLBuiltin); in InsertOCLBuiltinDeclarationsFromTable()
917 R.addDecl(getASTContext().getMakeIntegerSeqDecl()); in LookupBuiltin()
920 R.addDecl(getASTContext().getTypePackElementDecl()); in LookupBuiltin()
954 R.addDecl(D); in LookupBuiltin()
1112 R.addDecl(D); in LookupDirect()
1155 R.addDecl(ConvTemplate); in LookupDirect()
1191 R.addDecl(Specialization); in LookupDirect()
1330 R.addDecl(ND); in CppLookupName()
1374 R.addDecl(ND); in CppLookupName()
[all …]
H A DSemaModule.cpp587 CurContext->addDecl(Import); in ActOnModuleImport()
653 TU->addDecl(ImportD); in BuildModuleInclude()
743 TU->addDecl(ImportD); in createImplicitModuleImportForErrorRecovery()
760 CurContext->addDecl(D); in ActOnStartExportDecl()
H A DSemaDeclCXX.cpp4853 MemberLookup.addDecl(Indirect ? cast<ValueDecl>(Indirect) in BuildImplicitMemberInitializer()
11312 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef()
11339 Parent->addDecl(UD); in ActOnStartNamespaceDef()
11737 R.addDecl(Corrected.getFoundDecl()); in TryNamespaceTypoCorrection()
11775 R.addDecl(getOrCreateStdNamespace()); in ActOnUsingDirective()
11832 Ctx->addDecl(UDir); in PushUsingDirective()
12211 CurContext->addDecl(Shadow); in BuildUsingShadowDecl()
12476 CurContext->addDecl(D); in BuildUsingDeclaration()
12486 CurContext->addDecl(UD); in BuildUsingDeclaration()
12522 R.addDecl(UnresolvedUsingIfExistsDecl::Create(Context, CurContext, UsingLoc, in BuildUsingDeclaration()
[all …]
H A DSemaCXXScopeSpec.cpp567 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
658 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
H A DSemaRISCVVectorLookup.cpp402 LR.addDecl(RVVIntrinsicDecl); in CreateRVVIntrinsicDecl()
H A DSemaDeclObjC.cpp1841 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1889 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1951 CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation()
2155 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
2188 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
4004 OID->addDecl(Getter); in ActOnAtEnd()
4007 OID->addDecl(Setter); in ActOnAtEnd()
4987 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod); in ActOnMethodDeclaration()
5135 Record->addDecl(FD); in ActOnDefs()
H A DSemaTemplate.cpp524 Found.addDecl(ND); in LookupTemplateName()
2162 CurContext->addDecl(Friend); in CheckClassTemplate()
2559 DC->addDecl(GuideTemplate);
4641 CurContext->addDecl(Specialization); in ActOnVarTemplateSpecialization()
4651 PrevSpec.addDecl(PrevDecl); in ActOnVarTemplateSpecialization()
8889 CurContext->addDecl(Friend); in ActOnClassTemplateSpecialization()
8894 CurContext->addDecl(Specialization); in ActOnClassTemplateSpecialization()
9403 Candidates.addDecl(Specialization, I.getAccess()); in CheckFunctionTemplateSpecialization()
9534 Previous.addDecl(Specialization); in CheckFunctionTemplateSpecialization()
9638 Previous.addDecl(FoundInstantiation); in CheckMemberSpecialization()
[all …]
H A DSemaObjCProperty.cpp631 DC->addDecl(PDecl); in CreatePropertyDecl()
1341 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
2494 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2581 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
H A DSemaStmt.cpp4649 DC->addDecl(RD); in CreateCapturedStmtRecordDecl()
4655 DC->addDecl(CD); in CreateCapturedStmtRecordDecl()
4714 DC->addDecl(Param); in ActOnCapturedRegionStart()
4754 DC->addDecl(Param); in ActOnCapturedRegionStart()
4762 DC->addDecl(Param); in ActOnCapturedRegionStart()
4774 DC->addDecl(Param); in ActOnCapturedRegionStart()
H A DSemaAttr.cpp512 Context.getTranslationUnitDecl()->addDecl(PCD); in ActOnPragmaMSComment()
520 Context.getTranslationUnitDecl()->addDecl(PDMD); in ActOnPragmaDetectMismatch()
H A DSemaDecl.cpp1047 Result.addDecl(FirstDecl); in ClassifyName()
1293 Result.addDecl(Found); in ActOnNameClassifiedAsNonType()
1313 Result.addDecl(*I, I.getAccess()); in ActOnNameClassifiedAsOverloadSet()
1548 CurContext->addDecl(D); in PushOnScopeChains()
2384 Parent->addDecl(CLinkageDecl); in CreateBuiltin()
5716 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion()
5782 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct()
8355 Previous.addDecl(Prev); in checkGlobalOrExternCConflict()
8431 Previous.addDecl(Prev); in checkForConflictWithNonVisibleExternC()
8920 Previous.addDecl(FD); in DiagnoseInvalidRedeclaration()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DUnresolvedSet.h91 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 DASTUnresolvedSet.h55 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl() function
115 Impl.addDecl(C, reinterpret_cast<NamedDecl *>(ID << 2), AS); in addLazyDecl()
H A DDeclObjC.h2479 addDecl(method); in addInstanceMethod()
2485 addDecl(method); in addClassMethod()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DLookup.h452 void addDecl(NamedDecl *D) { in addDecl() function
453 addDecl(D, D->getAccess()); in addDecl()
458 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
459 Decls.addDecl(D, AS); in addDecl()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DCommentSema.cpp996 void addDecl(const NamedDecl *ND);
1011 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { in addDecl() function in clang::comments::__anonae66d1410211::SimpleTypoCorrector
1038 Corrector.addDecl(ParamVars[i]); in correctTypoInParmVarReference()
1088 Corrector.addDecl(Param); in CorrectTypoInTParamReferenceHelper()
H A DDeclCXX.cpp870 Conversions.addDecl(Ctx, Primary, AS); in addedMember()
1356 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember()
1719 VOutput.addDecl(I.getDecl(), IAccess); in CollectVisibleConversions()
1721 Output.addDecl(Context, I.getDecl(), IAccess); in CollectVisibleConversions()
1782 Output.addDecl(Context, I.getDecl(), I.getAccess()); in CollectVisibleConversions()
H A DASTContext.cpp1188 getTranslationUnitDecl()->addDecl(BuiltinTemplate); in buildBuiltinTemplateDecl()
1468 getTranslationUnitDecl()->addDecl(MSGuidTagDecl); in InitBuiltinTypes()
7335 CFConstantStringTagDecl->addDecl(Field); in getCFConstantStringDecl()
7362 getTranslationUnitDecl()->addDecl(ObjCSuperTypeDecl); in getObjCSuperType()
7401 RD->addDecl(Field); in getBlockDescriptorType()
7441 RD->addDecl(Field); in getBlockDescriptorExtendedType()
8794 VaListTagDecl->addDecl(Field); in CreateAArch64ABIBuiltinVaListDecl()
8846 VaListTagDecl->addDecl(Field); in CreatePowerABIBuiltinVaListDecl()
8906 VaListTagDecl->addDecl(Field); in CreateX86_64ABIBuiltinVaListDecl()
8959 VaListDecl->addDecl(Field); in CreateAAPCSABIBuiltinVaListDecl()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1339 decl_ctx->addDecl(decl); in CreateRecordType()
1368 cxx_record_decl->addDecl( in AddAccessSpecifierDecl()
1654 decl_ctx->addDecl(class_template_decl); in CreateClassTemplateDecl()
1711 decl_ctx->addDecl(class_template_specialization_decl); in CreateClassTemplateSpecializationDecl()
1913 decl_ctx->addDecl(namespace_decl); in GetUniqueNamespaceDeclaration()
1924 translation_unit_decl->addDecl(namespace_decl); in GetUniqueNamespaceDeclaration()
1936 parent_namespace_decl->addDecl(namespace_decl); in GetUniqueNamespaceDeclaration()
1960 ctx->addDecl(decl); in CreateBlockDeclaration()
1995 decl_ctx->addDecl(using_decl); in CreateUsingDirectiveDeclaration()
2016 current_decl_ctx->addDecl(using_decl); in CreateUsingDeclaration()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp380 DC->addDecl(result_decl); in SynthesizeBodyResult()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseDeclCXX.cpp2961 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2964 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
3104 CommonLateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
3107 LateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()

12