Home
last modified time | relevance | path

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

12

/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DUnresolvedSet.h115 void addDecl(NamedDecl *D) { in addDecl() function
116 addDecl(D, AS_none); in addDecl()
119 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
H A DASTUnresolvedSet.h50 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl() function
104 Impl.addDecl(C, reinterpret_cast<NamedDecl*>(ID << 2), AS); in addLazyDecl()
H A DDeclObjC.h1866 addDecl(method); in addInstanceMethod()
1871 addDecl(method); in addClassMethod()
H A DDeclBase.h1497 void addDecl(Decl *D);
/minix/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DLookup.h369 void addDecl(NamedDecl *D) { in addDecl() function
370 addDecl(D, D->getAccess()); in addDecl()
375 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
376 Decls.addDecl(D, AS); in addDecl()
/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp295 Owner->addDecl(Inst); in VisitLabelDecl()
314 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
445 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
595 Owner->addDecl(Field); in VisitFieldDecl()
698 Owner->addDecl(FD); in VisitFriendDecl()
717 Owner->addDecl(FD); in VisitFriendDecl()
780 Owner->addDecl(Enum); in VisitEnumDecl()
1045 Owner->addDecl(Inst); in VisitClassTemplateDecl()
1127 Owner->addDecl(Inst); in VisitVarTemplateDecl()
2262 Owner->addDecl(NewUD); in VisitUsingDecl()
[all …]
H A DSemaLambda.cpp257 DC->addDecl(Class); in createLambdaClosureType()
831 LSI->Lambda->addDecl(Field); in buildInitCaptureField()
1292 Class->addDecl(ConversionTemplate); in addFunctionPointerConversion()
1294 Class->addDecl(Conversion); in addFunctionPointerConversion()
1333 Class->addDecl(StaticInvokerTemplate); in addFunctionPointerConversion()
1335 Class->addDecl(Invoke); in addFunctionPointerConversion()
1375 Class->addDecl(Conversion); in addBlockPointerConversion()
1494 Class->addDecl(TemplateOrNonTemplateCallOperatorDecl); in ActOnLambdaExpr()
H A DSemaLookup.cpp480 addDecl(*DI); in addDeclsFromBasePaths()
542 R.addDecl(D); in LookupBuiltin()
678 R.addDecl(D); in LookupDirect()
711 R.addDecl(ConvTemplate); in LookupDirect()
947 R.addDecl(ND); in CppLookupName()
1100 R.addDecl(ND); in CppLookupName()
1345 R.addDecl(D); in LookupName()
1759 R.addDecl(D, AS); in LookupQualifiedName()
1861 R.addDecl(Decl); in LookupInSuper()
3851 Res.addDecl(Prop); in LookupPotentialTypoResult()
[all …]
H A DSemaDeclCXX.cpp7209 Parent->addDecl(UD); in ActOnStartNamespaceDef()
7543 Ctx->addDecl(UDir); in PushUsingDirective()
8013 CurContext->addDecl(D); in BuildUsingDeclaration()
8022 CurContext->addDecl(UD); in BuildUsingDeclaration()
8099 R.addDecl(ND); in BuildUsingDeclaration()
11763 CurContext->addDecl(D); in ActOnStartLinkageSpecification()
11792 CurContext->addDecl(ED); in ActOnEmptyDeclaration()
12022 CurContext->addDecl(Decl); in BuildStaticAssertDeclaration()
12300 CurContext->addDecl(D); in ActOnFriendTypeDecl()
12578 CurContext->addDecl(FrD); in ActOnFriendFunctionDecl()
[all …]
H A DSemaCXXScopeSpec.cpp513 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
594 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
H A DSemaObjCProperty.cpp365 DC->addDecl(PDecl); in HandlePropertyInClassExtension()
573 DC->addDecl(PDecl); in CreatePropertyDecl()
1042 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
1965 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2031 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
H A DSemaDeclObjC.cpp908 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
935 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
984 CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation()
1161 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
1194 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
3235 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod); in ActOnMethodDeclaration()
3364 Record->addDecl(FD); in ActOnDefs()
H A DSemaTemplate.cpp331 Found.addDecl(Corrected.getCorrectionDecl()); in LookupTemplateName()
1130 CurContext->addDecl(Friend); in CheckClassTemplate()
2614 CurContext->addDecl(Specialization); in ActOnVarTemplateSpecialization()
2624 PrevSpec.addDecl(PrevDecl); in ActOnVarTemplateSpecialization()
6410 CurContext->addDecl(Friend); in ActOnClassTemplateSpecialization()
6415 CurContext->addDecl(Specialization); in ActOnClassTemplateSpecialization()
6865 Previous.addDecl(Specialization); in CheckFunctionTemplateSpecialization()
6959 Previous.addDecl(Instantiation); in CheckMemberSpecialization()
7053 Previous.addDecl(Instantiation); in CheckMemberSpecialization()
7283 CurContext->addDecl(Specialization); in ActOnExplicitInstantiation()
[all …]
H A DSemaStmt.cpp3433 DC->addDecl(RD); in CreateCapturedStmtRecordDecl()
3439 DC->addDecl(CD); in CreateCapturedStmtRecordDecl()
3485 DC->addDecl(Param); in ActOnCapturedRegionStart()
3520 DC->addDecl(Param); in ActOnCapturedRegionStart()
3527 DC->addDecl(Param); in ActOnCapturedRegionStart()
3538 DC->addDecl(Param); in ActOnCapturedRegionStart()
H A DSemaDecl.cpp751 Result.addDecl(D); in ClassifyName()
1157 CurContext->addDecl(D); in PushOnScopeChains()
4042 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion()
4110 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct()
5985 Previous.addDecl(Prev); in checkGlobalOrExternCConflict()
6477 Previous.addDecl(FD); in DiagnoseInvalidRedeclaration()
7929 Previous.addDecl(OldDecl); in CheckFunctionDeclaration()
11926 CurContext->addDecl(New); in ActOnTag()
12253 Record->addDecl(NewFD); in HandleField()
13764 CurContext->addDecl(New); in ActOnFileScopeAsmDecl()
[all …]
H A DSema.cpp1287 OverloadSet.addDecl(*it); in tryExprAsCall()
1400 PlausibleOverloads.addDecl(It.getDecl()); in notePlausibleOverloads()
H A DTreeTransform.h1617 getSema().CurContext->addDecl(Var); in RebuildExceptionDecl()
1890 R.addDecl(FoundDecl); in RebuildMemberExpr()
8669 R.addDecl(I); in TransformUnresolvedLookupExpr()
8673 R.addDecl(InstD); in TransformUnresolvedLookupExpr()
9517 R.addDecl(I); in TransformUnresolvedMemberExpr()
9521 R.addDecl(InstD); in TransformUnresolvedMemberExpr()
10663 Functions.addDecl(ND); in RebuildCXXOperatorCallExpr()
/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DCommentSema.cpp970 void addDecl(const NamedDecl *ND);
985 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { in addDecl() function in clang::comments::__anond9e9e7550211::SimpleTypoCorrector
1012 Corrector.addDecl(ParamVars[i]); in correctTypoInParmVarReference()
1062 Corrector.addDecl(Param); in CorrectTypoInTParamReferenceHelper()
H A DDeclCXX.cpp586 Conversions.addDecl(Ctx, Primary, AS); in addedMember()
934 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember()
1107 VOutput.addDecl(I.getDecl(), IAccess); in CollectVisibleConversions()
1109 Output.addDecl(Context, I.getDecl(), IAccess); in CollectVisibleConversions()
1170 Output.addDecl(Context, I.getDecl(), I.getAccess()); in CollectVisibleConversions()
H A DASTContext.cpp4663 CFConstantStringTypeDecl->addDecl(Field); in getCFConstantStringType()
4675 TUDecl->addDecl(ObjCSuperTypeDecl); in getObjCSuperType()
4712 RD->addDecl(Field); in getBlockDescriptorType()
4752 RD->addDecl(Field); in getBlockDescriptorExtendedType()
5939 VaListTagDecl->addDecl(Field); in CreateAArch64ABIBuiltinVaListDecl()
5991 VaListTagDecl->addDecl(Field); in CreatePowerABIBuiltinVaListDecl()
6051 VaListTagDecl->addDecl(Field); in CreateX86_64ABIBuiltinVaListDecl()
6111 VaListDecl->addDecl(Field); in CreateAAPCSABIBuiltinVaListDecl()
6160 VaListTagDecl->addDecl(Field); in CreateSystemZBuiltinVaListDecl()
H A DDeclBase.cpp1194 void DeclContext::addDecl(Decl *D) { in addDecl() function in DeclContext
H A DDeclObjC.cpp1733 addDecl(property); in addPropertyImplementation()
/minix/external/bsd/llvm/dist/clang/unittests/Sema/
H A DExternalSemaSourceTest.cpp123 DestContext->addDecl(NewNamespace); in CorrectTypo()
/minix/external/bsd/llvm/dist/clang/lib/Parse/
H A DParseDeclCXX.cpp2383 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2386 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2496 CommonLateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
2499 LateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
/minix/external/bsd/llvm/dist/clang/lib/Frontend/
H A DCompilerInstance.cpp1608 TU->addDecl(ImportD); in loadModule()

12