Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp79 HLSLNamespace->addDecl(Record); in ~BuiltinTypeDeclBuilder()
99 Record->addDecl(Field); in addMemberVariable()
201 Record->addDecl(Constructor); in addDefaultHandleConstructor()
286 Record->addDecl(MethodDecl); in addArraySubscriptOperator()
355 Builder.Record->getDeclContext()->addDecl(Builder.Template); in finalizeTemplateArgs()
397 AST.getTranslationUnitDecl()->addDecl(HLSLNamespace); in InitializeSema()
415 AST.getTranslationUnitDecl()->addDecl(UsingDecl); in InitializeSema()
466 HLSLNamespace->addDecl(Template); in defineHLSLVectorAlias()
H A DSemaModule.cpp405 CurContext->addDecl(Import); in ActOnModuleDecl()
598 CurContext->addDecl(Import); in ActOnModuleImport()
652 TU->addDecl(ImportD); in BuildModuleInclude()
742 TU->addDecl(ImportD); in createImplicitModuleImportForErrorRecovery()
759 CurContext->addDecl(D); in ActOnStartExportDecl()
H A DSemaTemplateInstantiateDecl.cpp957 Owner->addDecl(Inst); in VisitLabelDecl()
976 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
1112 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
1314 Owner->addDecl(Field); in VisitFieldDecl()
1417 Owner->addDecl(FD); in VisitFriendDecl()
1436 Owner->addDecl(FD); in VisitFriendDecl()
1510 Owner->addDecl(Enum); in VisitEnumDecl()
1757 Owner->addDecl(Inst); in VisitClassTemplateDecl()
1840 Owner->addDecl(Inst); in VisitVarTemplateDecl()
3551 Owner->addDecl(TD); in VisitOMPThreadPrivateDecl()
[all …]
H A DSemaLambda.cpp258 DC->addDecl(Class); in createLambdaClosureType()
989 LSI->Lambda->addDecl(TemplateMethod); in CompleteLambdaCallOperator()
992 LSI->Lambda->addDecl(Method); in CompleteLambdaCallOperator()
1720 Class->addDecl(ConversionTemplate); in addFunctionPointerConversion()
1722 Class->addDecl(Conversion); in addFunctionPointerConversion()
1763 Class->addDecl(StaticInvokerTemplate); in addFunctionPointerConversion()
1765 Class->addDecl(Invoke); in addFunctionPointerConversion()
1821 Class->addDecl(Conversion); in addBlockPointerConversion()
2001 RD->addDecl(Field); in BuildCaptureField()
H A DSemaLookup.cpp659 addDecl(*DI); in addDeclsFromBasePaths()
968 R.addDecl(D); in LookupBuiltin()
1126 R.addDecl(D); in LookupDirect()
1344 R.addDecl(ND); in CppLookupName()
1481 R.addDecl(ND); in CppLookupName()
2229 R.addDecl(D); in LookupName()
2669 R.addDecl(ND, AS); in LookupQualifiedName()
2778 R.addDecl(I.getDecl(), in LookupInSuper()
4996 Res.addDecl(Ivar); in LookupPotentialTypoResult()
5004 Res.addDecl(Prop); in LookupPotentialTypoResult()
[all …]
H A DSemaCXXScopeSpec.cpp543 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
634 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
H A DSemaDeclCXX.cpp11761 Parent->addDecl(UD); in ActOnStartNamespaceDef()
12271 Ctx->addDecl(UDir); in PushUsingDirective()
12915 CurContext->addDecl(D); in BuildUsingDeclaration()
13018 R.addDecl(Ctor); in BuildUsingDeclaration()
13024 R.addDecl(ND); in BuildUsingDeclaration()
13119 CurContext->addDecl(UD); in BuildUsingEnumDeclaration()
13151 CurContext->addDecl(UPD); in BuildUsingPackDecl()
16842 CurContext->addDecl(D); in ActOnStartLinkageSpecification()
16879 CurContext->addDecl(ED); in ActOnEmptyDeclaration()
17827 CurContext->addDecl(D); in ActOnFriendTypeDecl()
[all …]
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()
4003 OID->addDecl(Getter); in ActOnAtEnd()
4006 OID->addDecl(Setter); in ActOnAtEnd()
4987 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod); in ActOnMethodDeclaration()
5135 Record->addDecl(FD); in ActOnDefs()
H A DSemaRISCVVectorLookup.cpp459 LR.addDecl(RVVIntrinsicDecl); in CreateRVVIntrinsicDecl()
H A DSemaTemplate.cpp525 Found.addDecl(ND); in LookupTemplateName()
2210 CurContext->addDecl(Friend); in CheckClassTemplate()
2676 DC->addDecl(GuideTemplate);
4814 CurContext->addDecl(Specialization); in ActOnVarTemplateSpecialization()
4824 PrevSpec.addDecl(PrevDecl); in ActOnVarTemplateSpecialization()
9188 CurContext->addDecl(Friend); in ActOnClassTemplateSpecialization()
9193 CurContext->addDecl(Specialization); in ActOnClassTemplateSpecialization()
9831 Previous.addDecl(Specialization); in CheckFunctionTemplateSpecialization()
9935 Previous.addDecl(FoundInstantiation); in CheckMemberSpecialization()
10006 Previous.addDecl(FoundInstantiation); in CheckMemberSpecialization()
[all …]
H A DSemaObjCProperty.cpp631 DC->addDecl(PDecl); in CreatePropertyDecl()
1341 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
2493 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2577 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
H A DSemaStmt.cpp4712 DC->addDecl(RD); in CreateCapturedStmtRecordDecl()
4718 DC->addDecl(CD); in CreateCapturedStmtRecordDecl()
4777 DC->addDecl(Param); in ActOnCapturedRegionStart()
4818 DC->addDecl(Param); in ActOnCapturedRegionStart()
4826 DC->addDecl(Param); in ActOnCapturedRegionStart()
4838 DC->addDecl(Param); in ActOnCapturedRegionStart()
H A DSemaAttr.cpp510 Context.getTranslationUnitDecl()->addDecl(PCD); in ActOnPragmaMSComment()
518 Context.getTranslationUnitDecl()->addDecl(PDMD); in ActOnPragmaDetectMismatch()
H A DSemaDecl.cpp1318 Result.addDecl(Found); in ActOnNameClassifiedAsNonType()
1573 CurContext->addDecl(D); in PushOnScopeChains()
5851 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion()
5918 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct()
8563 Previous.addDecl(Prev); in checkGlobalOrExternCConflict()
9152 Previous.addDecl(FD); in DiagnoseInvalidRedeclaration()
10341 NewFD->addDecl(TD); in ActOnFunctionDeclarator()
11998 Previous.addDecl(OldDecl); in CheckFunctionDeclaration()
18135 CurContext->addDecl(New); in ActOnTag()
18527 Record->addDecl(NewFD); in HandleField()
[all …]
/freebsd-14.2/contrib/llvm-project/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.h2490 addDecl(method); in addInstanceMethod()
2496 addDecl(method); in addClassMethod()
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DLookup.h472 void addDecl(NamedDecl *D) { in addDecl() function
473 addDecl(D, D->getAccess()); in addDecl()
478 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
479 Decls.addDecl(D, AS); in addDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp995 void addDecl(const NamedDecl *ND);
1010 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { in addDecl() function in clang::comments::__anonbe819ce00211::SimpleTypoCorrector
1037 Corrector.addDecl(ParamVars[i]); in correctTypoInParmVarReference()
1087 Corrector.addDecl(Param); in CorrectTypoInTParamReferenceHelper()
H A DDeclCXX.cpp882 Conversions.addDecl(Ctx, Primary, AS); in addedMember()
1368 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember()
1760 VOutput.addDecl(I.getDecl(), IAccess); in CollectVisibleConversions()
1762 Output.addDecl(Context, I.getDecl(), IAccess); in CollectVisibleConversions()
1823 Output.addDecl(Context, I.getDecl(), I.getAccess()); in CollectVisibleConversions()
H A DASTContext.cpp1122 getTranslationUnitDecl()->addDecl(BuiltinTemplate); in buildBuiltinTemplateDecl()
1415 getTranslationUnitDecl()->addDecl(MSGuidTagDecl); in InitBuiltinTypes()
7342 CFConstantStringTagDecl->addDecl(Field); in getCFConstantStringDecl()
7408 RD->addDecl(Field); in getBlockDescriptorType()
7448 RD->addDecl(Field); in getBlockDescriptorExtendedType()
8805 VaListTagDecl->addDecl(Field); in CreateAArch64ABIBuiltinVaListDecl()
8857 VaListTagDecl->addDecl(Field); in CreatePowerABIBuiltinVaListDecl()
8916 VaListTagDecl->addDecl(Field); in CreateX86_64ABIBuiltinVaListDecl()
8969 VaListDecl->addDecl(Field); in CreateAAPCSABIBuiltinVaListDecl()
9019 VaListTagDecl->addDecl(Field); in CreateSystemZBuiltinVaListDecl()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1339 decl_ctx->addDecl(decl); in CreateRecordType()
1368 cxx_record_decl->addDecl( in AddAccessSpecifierDecl()
1967 ctx->addDecl(decl); in CreateBlockDeclaration()
2002 decl_ctx->addDecl(using_decl); in CreateUsingDirectiveDeclaration()
2205 decl_ctx->addDecl(func_decl); in CreateFunctionDeclaration()
2263 decl_ctx->addDecl(decl); in CreateParameterDeclaration()
2369 decl_ctx->addDecl(enum_decl); in CreateEnumerationType()
4596 decl_ctx->addDecl(decl); in CreateTypedef()
7320 record_decl->addDecl(field); in AddFieldToRecordType()
7459 record_decl->addDecl(*ifi); in BuildIndirectFields()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp380 DC->addDecl(result_decl); in SynthesizeBodyResult()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp3008 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
3011 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
3153 CommonLateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
3156 LateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()

12