Home
last modified time | relevance | path

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

12

/freebsd-13.1/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
110 Impl.addDecl(C, reinterpret_cast<NamedDecl *>(ID << 2), AS); in addLazyDecl()
H A DDeclObjC.h2431 addDecl(method); in addInstanceMethod()
2437 addDecl(method); in addClassMethod()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp177 ast_ctx.getTranslationUnitDecl()->addDecl(new_iface_decl); in GetDeclForISA()
451 interface_decl->addDecl(method_decl); in FinishDecl()
469 interface_decl->addDecl(method_decl); in FinishDecl()
500 interface_decl->addDecl(ivar_decl); in FinishDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DLookup.h426 void addDecl(NamedDecl *D) { in addDecl() function
427 addDecl(D, D->getAccess()); in addDecl()
432 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
433 Decls.addDecl(D, AS); in addDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp386 CurContext->addDecl(Import); in ActOnModuleImport()
430 TU->addDecl(ImportD); in BuildModuleInclude()
513 TU->addDecl(ImportD); in createImplicitModuleImportForErrorRecovery()
577 CurContext->addDecl(D); in ActOnStartExportDecl()
H A DSemaLambda.cpp256 DC->addDecl(Class); in createLambdaClosureType()
399 Class->addDecl(Method); in startLambdaDefinition()
413 Class->addDecl(TemplateMethod); in startLambdaDefinition()
1470 Class->addDecl(ConversionTemplate); in addFunctionPointerConversion()
1472 Class->addDecl(Conversion); in addFunctionPointerConversion()
1508 Class->addDecl(StaticInvokerTemplate); in addFunctionPointerConversion()
1510 Class->addDecl(Invoke); in addFunctionPointerConversion()
1563 Class->addDecl(Conversion); in addBlockPointerConversion()
1738 RD->addDecl(Field); in BuildCaptureField()
H A DSemaTemplateInstantiateDecl.cpp856 Owner->addDecl(Inst); in VisitLabelDecl()
875 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
1010 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
1209 Owner->addDecl(Field); in VisitFieldDecl()
1312 Owner->addDecl(FD); in VisitFriendDecl()
1331 Owner->addDecl(FD); in VisitFriendDecl()
1402 Owner->addDecl(Enum); in VisitEnumDecl()
1644 Owner->addDecl(Inst); in VisitClassTemplateDecl()
1727 Owner->addDecl(Inst); in VisitVarTemplateDecl()
3368 Owner->addDecl(TD); in VisitOMPThreadPrivateDecl()
[all …]
H A DSemaLookup.cpp643 addDecl(*DI); in addDeclsFromBasePaths()
941 R.addDecl(D); in LookupBuiltin()
1099 R.addDecl(D); in LookupDirect()
1318 R.addDecl(ND); in CppLookupName()
1456 R.addDecl(ND); in CppLookupName()
1959 R.addDecl(D); in LookupName()
2398 R.addDecl(ND, AS); in LookupQualifiedName()
2507 R.addDecl(I.getDecl(), in LookupInSuper()
4651 Res.addDecl(Ivar); in LookupPotentialTypoResult()
4659 Res.addDecl(Prop); in LookupPotentialTypoResult()
[all …]
H A DSemaDeclCXX.cpp11042 Parent->addDecl(UD); in ActOnStartNamespaceDef()
11534 Ctx->addDecl(UDir); in PushUsingDirective()
12168 CurContext->addDecl(D); in BuildUsingDeclaration()
12271 R.addDecl(Ctor); in BuildUsingDeclaration()
12277 R.addDecl(ND); in BuildUsingDeclaration()
12371 CurContext->addDecl(UD); in BuildUsingEnumDeclaration()
12403 CurContext->addDecl(UPD); in BuildUsingPackDecl()
16079 CurContext->addDecl(D); in ActOnStartLinkageSpecification()
16107 CurContext->addDecl(ED); in ActOnEmptyDeclaration()
16683 CurContext->addDecl(D); in ActOnFriendTypeDecl()
[all …]
H A DSemaCXXScopeSpec.cpp567 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
658 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
H A DSemaDeclObjC.cpp1825 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1872 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1934 CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation()
2136 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
2169 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
3988 OID->addDecl(Getter); in ActOnAtEnd()
3991 OID->addDecl(Setter); in ActOnAtEnd()
4967 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod); in ActOnMethodDeclaration()
5115 Record->addDecl(FD); in ActOnDefs()
H A DSemaAttr.cpp461 Context.getTranslationUnitDecl()->addDecl(PCD); in ActOnPragmaMSComment()
469 Context.getTranslationUnitDecl()->addDecl(PDMD); in ActOnPragmaDetectMismatch()
H A DSemaTemplate.cpp519 Found.addDecl(ND); in LookupTemplateName()
2063 CurContext->addDecl(Friend); in CheckClassTemplate()
2458 DC->addDecl(GuideTemplate);
4465 CurContext->addDecl(Specialization); in ActOnVarTemplateSpecialization()
4475 PrevSpec.addDecl(PrevDecl); in ActOnVarTemplateSpecialization()
8586 CurContext->addDecl(Friend); in ActOnClassTemplateSpecialization()
8591 CurContext->addDecl(Specialization); in ActOnClassTemplateSpecialization()
9172 Previous.addDecl(Specialization); in CheckFunctionTemplateSpecialization()
9276 Previous.addDecl(FoundInstantiation); in CheckMemberSpecialization()
9347 Previous.addDecl(FoundInstantiation); in CheckMemberSpecialization()
[all …]
H A DSemaObjCProperty.cpp631 DC->addDecl(PDecl); in CreatePropertyDecl()
1341 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
2497 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2584 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
H A DSemaDecl.cpp1244 Result.addDecl(Found); in ActOnNameClassifiedAsNonType()
1488 CurContext->addDecl(D); in PushOnScopeChains()
5295 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion()
5361 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct()
7858 Previous.addDecl(Prev); in checkGlobalOrExternCConflict()
8410 Previous.addDecl(FD); in DiagnoseInvalidRedeclaration()
9464 NewFD->addDecl(TD); in ActOnFunctionDeclarator()
10924 Previous.addDecl(OldDecl); in CheckFunctionDeclaration()
16432 CurContext->addDecl(New); in ActOnTag()
16805 Record->addDecl(NewFD); in HandleField()
[all …]
H A DSemaStmt.cpp4582 DC->addDecl(RD); in CreateCapturedStmtRecordDecl()
4588 DC->addDecl(CD); in CreateCapturedStmtRecordDecl()
4647 DC->addDecl(Param); in ActOnCapturedRegionStart()
4687 DC->addDecl(Param); in ActOnCapturedRegionStart()
4695 DC->addDecl(Param); in ActOnCapturedRegionStart()
4707 DC->addDecl(Param); in ActOnCapturedRegionStart()
H A DSema.cpp2310 OverloadSet.addDecl(*it); in tryExprAsCall()
2432 PlausibleOverloads.addDecl(It.getDecl()); in notePlausibleOverloads()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp1061 void addDecl(const NamedDecl *ND);
1076 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { in addDecl() function in clang::comments::__anon759a9bde0211::SimpleTypoCorrector
1103 Corrector.addDecl(ParamVars[i]); in correctTypoInParmVarReference()
1153 Corrector.addDecl(Param); in CorrectTypoInTParamReferenceHelper()
H A DDeclCXX.cpp883 Conversions.addDecl(Ctx, Primary, AS); in addedMember()
1377 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember()
1675 VOutput.addDecl(I.getDecl(), IAccess); in CollectVisibleConversions()
1677 Output.addDecl(Context, I.getDecl(), IAccess); in CollectVisibleConversions()
1738 Output.addDecl(Context, I.getDecl(), I.getAccess()); in CollectVisibleConversions()
H A DASTContext.cpp1201 getTranslationUnitDecl()->addDecl(BuiltinTemplate); in buildBuiltinTemplateDecl()
1488 getTranslationUnitDecl()->addDecl(MSGuidTagDecl); in InitBuiltinTypes()
6602 CFConstantStringTagDecl->addDecl(Field); in getCFConstantStringDecl()
6668 RD->addDecl(Field); in getBlockDescriptorType()
6708 RD->addDecl(Field); in getBlockDescriptorExtendedType()
8057 VaListTagDecl->addDecl(Field); in CreateAArch64ABIBuiltinVaListDecl()
8109 VaListTagDecl->addDecl(Field); in CreatePowerABIBuiltinVaListDecl()
8169 VaListTagDecl->addDecl(Field); in CreateX86_64ABIBuiltinVaListDecl()
8222 VaListDecl->addDecl(Field); in CreateAAPCSABIBuiltinVaListDecl()
8272 VaListTagDecl->addDecl(Field); in CreateSystemZBuiltinVaListDecl()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1352 decl_ctx->addDecl(decl); in CreateRecordType()
1923 ctx->addDecl(decl); in CreateBlockDeclaration()
1958 decl_ctx->addDecl(using_decl); in CreateUsingDirectiveDeclaration()
1997 decl_context->addDecl(var_decl); in CreateVariableDeclaration()
2159 decl_ctx->addDecl(func_decl); in CreateFunctionDeclaration()
2218 decl_ctx->addDecl(decl); in CreateParameterDeclaration()
2324 decl_ctx->addDecl(enum_decl); in CreateEnumerationType()
4590 decl_ctx->addDecl(decl); in CreateTypedef()
7286 record_decl->addDecl(field); in AddFieldToRecordType()
7424 record_decl->addDecl(*ifi); in BuildIndirectFields()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp354 DC->addDecl(result_decl); in SynthesizeBodyResult()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp2863 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2866 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
3004 CommonLateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
3007 LateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
H A DParseCXXInlineMethods.cpp677 LAs[i]->addDecl(D); in ParseLexedAttributeList()

12