Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DUnresolvedSet.h89 void addDecl(NamedDecl *D) { in addDecl() function
90 addDecl(D, AS_none); in addDecl()
93 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
H A DASTUnresolvedSet.h56 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl() function
111 Impl.addDecl(C, reinterpret_cast<NamedDecl *>(ID << 2), AS); in addLazyDecl()
H A DDeclObjC.h2447 addDecl(method); in addInstanceMethod()
2453 addDecl(method); in addClassMethod()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DLookup.h415 void addDecl(NamedDecl *D) { in addDecl() function
416 addDecl(D, D->getAccess()); in addDecl()
421 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
422 Decls.addDecl(D, AS); in addDecl()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp195 ast_ctx->getTranslationUnitDecl()->addDecl(new_iface_decl); in GetDeclForISA()
468 interface_decl->addDecl(method_decl); in FinishDecl()
487 interface_decl->addDecl(method_decl); in FinishDecl()
519 interface_decl->addDecl(ivar_decl); in FinishDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp530 Owner->addDecl(Inst); in VisitLabelDecl()
549 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
680 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
857 Owner->addDecl(Field); in VisitFieldDecl()
960 Owner->addDecl(FD); in VisitFriendDecl()
979 Owner->addDecl(FD); in VisitFriendDecl()
1050 Owner->addDecl(Enum); in VisitEnumDecl()
1322 Owner->addDecl(Inst); in VisitClassTemplateDecl()
1405 Owner->addDecl(Inst); in VisitVarTemplateDecl()
2586 Owner->addDecl(NewUD); in VisitUsingDecl()
[all …]
H A DSemaLambda.cpp261 DC->addDecl(Class); in createLambdaClosureType()
823 LSI->Lambda->addDecl(Field); in buildInitCaptureField()
1326 Class->addDecl(ConversionTemplate); in addFunctionPointerConversion()
1328 Class->addDecl(Conversion); in addFunctionPointerConversion()
1364 Class->addDecl(StaticInvokerTemplate); in addFunctionPointerConversion()
1366 Class->addDecl(Invoke); in addFunctionPointerConversion()
1398 Class->addDecl(Conversion); in addBlockPointerConversion()
1534 Class->addDecl(TemplateOrNonTemplateCallOperatorDecl); in BuildLambdaExpr()
H A DSemaLookup.cpp633 addDecl(*DI); in addDeclsFromBasePaths()
704 R.addDecl(D); in LookupBuiltin()
844 R.addDecl(D); in LookupDirect()
1124 R.addDecl(ND); in CppLookupName()
1277 R.addDecl(ND); in CppLookupName()
1780 R.addDecl(D); in LookupName()
2209 R.addDecl(D, AS); in LookupQualifiedName()
2318 R.addDecl(I.getDecl(), in LookupInSuper()
4363 Res.addDecl(Ivar); in LookupPotentialTypoResult()
4371 Res.addDecl(Prop); in LookupPotentialTypoResult()
[all …]
H A DSemaDeclCXX.cpp8967 Parent->addDecl(UD); in ActOnStartNamespaceDef()
9446 Ctx->addDecl(UDir); in PushUsingDirective()
10003 CurContext->addDecl(D); in BuildUsingDeclaration()
10096 R.addDecl(Ctor); in BuildUsingDeclaration()
10102 R.addDecl(ND); in BuildUsingDeclaration()
10182 CurContext->addDecl(UPD); in BuildUsingPackDecl()
13672 CurContext->addDecl(D); in ActOnStartLinkageSpecification()
13700 CurContext->addDecl(ED); in ActOnEmptyDeclaration()
14255 CurContext->addDecl(D); in ActOnFriendTypeDecl()
14536 CurContext->addDecl(FrD); in ActOnFriendFunctionDecl()
[all …]
H A DSemaAttr.cpp279 Context.getTranslationUnitDecl()->addDecl(PCD); in ActOnPragmaMSComment()
287 Context.getTranslationUnitDecl()->addDecl(PDMD); in ActOnPragmaDetectMismatch()
H A DSemaCXXScopeSpec.cpp549 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
640 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
H A DSemaTemplate.cpp409 Found.addDecl(ND); in LookupTemplateName()
1645 CurContext->addDecl(Friend); in CheckClassTemplate()
1976 DC->addDecl(GuideTemplate); in buildDeductionGuide()
3889 CurContext->addDecl(Specialization); in ActOnVarTemplateSpecialization()
3899 PrevSpec.addDecl(PrevDecl); in ActOnVarTemplateSpecialization()
7797 CurContext->addDecl(Friend); in ActOnClassTemplateSpecialization()
7802 CurContext->addDecl(Specialization); in ActOnClassTemplateSpecialization()
8327 Previous.addDecl(Specialization); in CheckFunctionTemplateSpecialization()
8431 Previous.addDecl(FoundInstantiation); in CheckMemberSpecialization()
8502 Previous.addDecl(FoundInstantiation); in CheckMemberSpecialization()
[all …]
H A DSemaDecl.cpp912 Result.addDecl(D); in ClassifyName()
1353 CurContext->addDecl(D); in PushOnScopeChains()
4844 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion()
4908 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct()
7188 Previous.addDecl(Prev); in checkGlobalOrExternCConflict()
8712 NewFD->addDecl(TD); in ActOnFunctionDeclarator()
15282 Record->addDecl(NewFD); in HandleField()
16906 CurContext->addDecl(New); in ActOnFileScopeAsmDecl()
17164 TU->addDecl(ImportD); in BuildModuleInclude()
17247 TU->addDecl(ImportD); in createImplicitModuleImportForErrorRecovery()
[all …]
H A DSemaDeclObjC.cpp1815 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1862 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1920 CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation()
2112 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
2145 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
4686 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod); in ActOnMethodDeclaration()
4831 Record->addDecl(FD); in ActOnDefs()
H A DSemaObjCProperty.cpp637 DC->addDecl(PDecl); in CreatePropertyDecl()
1313 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
2402 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2479 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
H A DSemaStmt.cpp4222 DC->addDecl(RD); in CreateCapturedStmtRecordDecl()
4228 DC->addDecl(CD); in CreateCapturedStmtRecordDecl()
4271 DC->addDecl(Param); in ActOnCapturedRegionStart()
4310 DC->addDecl(Param); in ActOnCapturedRegionStart()
4318 DC->addDecl(Param); in ActOnCapturedRegionStart()
4330 DC->addDecl(Param); in ActOnCapturedRegionStart()
H A DSema.cpp1663 OverloadSet.addDecl(*it); in tryExprAsCall()
1787 PlausibleOverloads.addDecl(It.getDecl()); in notePlausibleOverloads()
H A DSemaOpenMP.cpp1988 CurContext->addDecl(D); in ActOnOpenMPThreadprivateDirective()
2114 CurContext->addDecl(D); in ActOnOpenMPRequiresDirective()
10206 CurContext->addDecl(VDPrivate); in ActOnOpenMPFirstprivateClause()
10582 Lookups.back().addDecl(Underlying); in argumentDependentLookup()
10617 Lookups.back().addDecl(DRD); in buildDeclareReductionRef()
13235 DC->addDecl(DRD); in ActOnOpenMPDeclareReductionDirectiveStart()
13285 DRD->addDecl(OmpInParm); in ActOnOpenMPDeclareReductionCombinerStart()
13286 DRD->addDecl(OmpOutParm); in ActOnOpenMPDeclareReductionCombinerStart()
13345 DRD->addDecl(OmpPrivParm); in ActOnOpenMPDeclareReductionInitializerStart()
13346 DRD->addDecl(OmpOrigParm); in ActOnOpenMPDeclareReductionInitializerStart()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DCommentSema.cpp1000 void addDecl(const NamedDecl *ND);
1015 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { in addDecl() function in clang::comments::__anon75f4a8790211::SimpleTypoCorrector
1042 Corrector.addDecl(ParamVars[i]); in correctTypoInParmVarReference()
1092 Corrector.addDecl(Param); in CorrectTypoInTParamReferenceHelper()
H A DDeclCXX.cpp828 Conversions.addDecl(Ctx, Primary, AS); in addedMember()
1267 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember()
1485 VOutput.addDecl(I.getDecl(), IAccess); in CollectVisibleConversions()
1487 Output.addDecl(Context, I.getDecl(), IAccess); in CollectVisibleConversions()
1548 Output.addDecl(Context, I.getDecl(), I.getAccess()); in CollectVisibleConversions()
H A DASTContext.cpp1081 TUDecl->addDecl(BuiltinTemplate); in buildBuiltinTemplateDecl()
5893 CFConstantStringTagDecl->addDecl(Field); in getCFConstantStringDecl()
5920 TUDecl->addDecl(ObjCSuperTypeDecl); in getObjCSuperType()
5961 RD->addDecl(Field); in getBlockDescriptorType()
6001 RD->addDecl(Field); in getBlockDescriptorExtendedType()
7293 VaListTagDecl->addDecl(Field); in CreateAArch64ABIBuiltinVaListDecl()
7345 VaListTagDecl->addDecl(Field); in CreatePowerABIBuiltinVaListDecl()
7405 VaListTagDecl->addDecl(Field); in CreateX86_64ABIBuiltinVaListDecl()
7458 VaListDecl->addDecl(Field); in CreateAAPCSABIBuiltinVaListDecl()
7508 VaListTagDecl->addDecl(Field); in CreateSystemZBuiltinVaListDecl()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp1511 decl_ctx->addDecl(decl); in CreateRecordType()
1972 ctx->addDecl(decl); in CreateBlockDeclaration()
2005 decl_ctx->addDecl(using_decl); in CreateUsingDirectiveDeclaration()
2037 decl_context->addDecl(var_decl); in CreateVariableDeclaration()
2165 decl_ctx->addDecl(func_decl); in CreateFunctionDeclaration()
2226 decl_ctx->addDecl(decl); in CreateParameterDeclaration()
2336 decl_ctx->addDecl(enum_decl); in CreateEnumerationType()
4864 decl_ctx->addDecl(decl); in CreateTypedefType()
7935 record_decl->addDecl(field); in AddFieldToRecordType()
8073 record_decl->addDecl(*ifi); in BuildIndirectFields()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp363 DC->addDecl(result_decl); in SynthesizeBodyResult()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseDeclCXX.cpp2701 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2704 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2832 CommonLateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
2835 LateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenMPRuntimeNVPTX.cpp290 GlobalizedRD->addDecl(Field); in buildRecordForGlobalizedVars()
4534 SharedStaticRD->addDecl(Field); in clear()
4537 StaticRD->addDecl(Field); in clear()
4558 SharedStaticRD->addDecl(Field); in clear()

12