Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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 DSemaTemplateInstantiateDecl.cpp820 Owner->addDecl(Inst); in VisitLabelDecl()
839 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
925 Owner->addDecl(Typedef); in VisitTypedefDecl()
932 Owner->addDecl(Typedef); in VisitTypeAliasDecl()
974 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
1154 Owner->addDecl(Field); in VisitFieldDecl()
1199 Owner->addDecl(Property); in VisitMSPropertyDecl()
1228 Owner->addDecl(IndirectField); in VisitIndirectFieldDecl()
1257 Owner->addDecl(FD); in VisitFriendDecl()
1276 Owner->addDecl(FD); in VisitFriendDecl()
[all …]
H A DSemaLambda.cpp256 DC->addDecl(Class); in createLambdaClosureType()
399 Class->addDecl(Method); in startLambdaDefinition()
413 Class->addDecl(TemplateMethod); in startLambdaDefinition()
1466 Class->addDecl(ConversionTemplate); in addFunctionPointerConversion()
1468 Class->addDecl(Conversion); in addFunctionPointerConversion()
1504 Class->addDecl(StaticInvokerTemplate); in addFunctionPointerConversion()
1506 Class->addDecl(Invoke); in addFunctionPointerConversion()
1559 Class->addDecl(Conversion); in addBlockPointerConversion()
1734 RD->addDecl(Field); in BuildCaptureField()
H A DSemaLookup.cpp643 addDecl(*DI); in addDeclsFromBasePaths()
889 LR.addDecl(NewOpenCLBuiltin); in InsertOCLBuiltinDeclarationsFromTable()
912 R.addDecl(getASTContext().getMakeIntegerSeqDecl()); in LookupBuiltin()
915 R.addDecl(getASTContext().getTypePackElementDecl()); in LookupBuiltin()
941 R.addDecl(D); in LookupBuiltin()
1099 R.addDecl(D); in LookupDirect()
1142 R.addDecl(ConvTemplate); in LookupDirect()
1179 R.addDecl(Specialization); in LookupDirect()
1318 R.addDecl(ND); in CppLookupName()
1362 R.addDecl(ND); in CppLookupName()
[all …]
H A DSemaDeclCXX.cpp4732 MemberLookup.addDecl(Indirect ? cast<ValueDecl>(Indirect) in BuildImplicitMemberInitializer()
11008 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef()
11035 Parent->addDecl(UD); in ActOnStartNamespaceDef()
11432 R.addDecl(Corrected.getFoundDecl()); in TryNamespaceTypoCorrection()
11470 R.addDecl(getOrCreateStdNamespace()); in ActOnUsingDirective()
11527 Ctx->addDecl(UDir); in PushUsingDirective()
11841 CurContext->addDecl(Shadow); in BuildUsingShadowDecl()
12089 CurContext->addDecl(D); in BuildUsingDeclaration()
12098 CurContext->addDecl(UD); in BuildUsingDeclaration()
12180 R.addDecl(Ctor); in BuildUsingDeclaration()
[all …]
H A DSemaCXXScopeSpec.cpp553 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
644 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()
9041 Candidates.addDecl(Specialization, I.getAccess()); in CheckFunctionTemplateSpecialization()
9172 Previous.addDecl(Specialization); in CheckFunctionTemplateSpecialization()
9276 Previous.addDecl(FoundInstantiation); in CheckMemberSpecialization()
[all …]
H A DSemaObjCProperty.cpp631 DC->addDecl(PDecl); in CreatePropertyDecl()
1341 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
2498 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2585 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
H A DSemaDecl.cpp996 Result.addDecl(FirstDecl); in ClassifyName()
1231 Result.addDecl(Found); in ActOnNameClassifiedAsNonType()
1251 Result.addDecl(*I, I.getAccess()); in ActOnNameClassifiedAsOverloadSet()
1475 CurContext->addDecl(D); in PushOnScopeChains()
2059 Parent->addDecl(CLinkageDecl); in CreateBuiltin()
5232 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion()
5298 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct()
7792 Previous.addDecl(Prev); in checkGlobalOrExternCConflict()
7868 Previous.addDecl(Prev); in checkForConflictWithNonVisibleExternC()
8351 Previous.addDecl(FD); in DiagnoseInvalidRedeclaration()
[all …]
H A DSemaStmt.cpp4634 DC->addDecl(RD); in CreateCapturedStmtRecordDecl()
4640 DC->addDecl(CD); in CreateCapturedStmtRecordDecl()
4699 DC->addDecl(Param); in ActOnCapturedRegionStart()
4739 DC->addDecl(Param); in ActOnCapturedRegionStart()
4747 DC->addDecl(Param); in ActOnCapturedRegionStart()
4759 DC->addDecl(Param); in ActOnCapturedRegionStart()
H A DSema.cpp2240 OverloadSet.addDecl(*it); in tryExprAsCall()
2362 PlausibleOverloads.addDecl(It.getDecl()); in notePlausibleOverloads()
H A DSemaOpenMP.cpp2921 CurContext->addDecl(D); in ActOnOpenMPThreadprivateDirective()
3194 Owner->addDecl(D); in ActOnOpenMPAllocateDirective()
3207 CurContext->addDecl(D); in ActOnOpenMPRequiresDirective()
15630 CurContext->addDecl(VDPrivate); in ActOnOpenMPFirstprivateClause()
16035 Lookups.back().addDecl(Underlying); in argumentDependentLookup()
16070 Lookups.back().addDecl(DRD); in buildDeclareReductionRef()
16089 ResSet.addDecl(Set[Set.size() - 1]); in buildDeclareReductionRef()
18828 Lookups.back().addDecl(DMD); in buildUserDefinedMapperRef()
19367 DC->addDecl(DRD); in ActOnOpenMPDeclareReductionDirectiveStart()
19417 DRD->addDecl(OmpInParm); in ActOnOpenMPDeclareReductionCombinerStart()
[all …]
H A DTreeTransform.h2303 getSema().CurContext->addDecl(Var); in RebuildExceptionDecl()
2631 R.addDecl(FoundDecl); in RebuildMemberExpr()
9581 Decls.addDecl(InstD, InstD->getAccess()); in TransformOMPReductionClause()
9629 Decls.addDecl(InstD, InstD->getAccess()); in TransformOMPTaskReductionClause()
9674 Decls.addDecl(InstD, InstD->getAccess()); in TransformOMPInReductionClause()
9854 Decls.addDecl(InstD, InstD->getAccess()); in transformOMPMappableExprListClause()
10897 UnqualLookups.addDecl(Found); in TransformCXXRewrittenBinaryOperator()
11967 R.addDecl(SD); in TransformOverloadExprDecls()
11969 R.addDecl(D); in TransformOverloadExprDecls()
14561 Functions.addDecl(ND); in RebuildCXXOperatorCallExpr()
/netbsd-src/external/apache2/llvm/dist/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::__anon8b1d4a750211::SimpleTypoCorrector
1103 Corrector.addDecl(ParamVars[i]); in correctTypoInParmVarReference()
1153 Corrector.addDecl(Param); in CorrectTypoInTParamReferenceHelper()
H A DDeclCXX.cpp876 Conversions.addDecl(Ctx, Primary, AS); in addedMember()
1368 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember()
1666 VOutput.addDecl(I.getDecl(), IAccess); in CollectVisibleConversions()
1668 Output.addDecl(Context, I.getDecl(), IAccess); in CollectVisibleConversions()
1729 Output.addDecl(Context, I.getDecl(), I.getAccess()); in CollectVisibleConversions()
H A DASTContext.cpp1201 TUDecl->addDecl(BuiltinTemplate); in buildBuiltinTemplateDecl()
1488 TUDecl->addDecl(MSGuidTagDecl); in InitBuiltinTypes()
6583 CFConstantStringTagDecl->addDecl(Field); in getCFConstantStringDecl()
6610 TUDecl->addDecl(ObjCSuperTypeDecl); in getObjCSuperType()
6649 RD->addDecl(Field); in getBlockDescriptorType()
6689 RD->addDecl(Field); in getBlockDescriptorExtendedType()
8038 VaListTagDecl->addDecl(Field); in CreateAArch64ABIBuiltinVaListDecl()
8090 VaListTagDecl->addDecl(Field); in CreatePowerABIBuiltinVaListDecl()
8150 VaListTagDecl->addDecl(Field); in CreateX86_64ABIBuiltinVaListDecl()
8203 VaListDecl->addDecl(Field); in CreateAAPCSABIBuiltinVaListDecl()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDeclCXX.cpp2801 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2804 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2937 CommonLateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
2940 LateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
H A DParseCXXInlineMethods.cpp677 LAs[i]->addDecl(D); in ParseLexedAttributeList()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp214 GlobalizedRD->addDecl(Field); in buildRecordForGlobalizedVars()
4608 SharedStaticRD->addDecl(Field); in clear()
4611 StaticRD->addDecl(Field); in clear()
4632 SharedStaticRD->addDecl(Field); in clear()
4694 StaticRD->addDecl(Field); in clear()

12