Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDUnresolvedSet.h77 void addDecl(NamedDecl *D) { in addDecl() function
78 addDecl(D, AS_none); in addDecl()
81 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
HDASTUnresolvedSet.h50 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl() function
104 Impl.addDecl(C, reinterpret_cast<NamedDecl*>(ID << 2), AS); in addLazyDecl()
HDDeclObjC.h2100 addDecl(method); in addInstanceMethod()
2105 addDecl(method); in addClassMethod()
HDDeclBase.h1586 void addDecl(Decl *D);
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDLookup.h366 void addDecl(NamedDecl *D) { in addDecl() function
367 addDecl(D, D->getAccess()); in addDecl()
372 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
373 Decls.addDecl(D, AS); in addDecl()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaTemplateInstantiateDecl.cpp332 Owner->addDecl(Inst); in VisitLabelDecl()
351 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
433 Owner->addDecl(Typedef); in VisitTypedefDecl()
440 Owner->addDecl(Typedef); in VisitTypeAliasDecl()
482 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
632 Owner->addDecl(Field); in VisitFieldDecl()
677 Owner->addDecl(Property); in VisitMSPropertyDecl()
706 Owner->addDecl(IndirectField); in VisitIndirectFieldDecl()
735 Owner->addDecl(FD); in VisitFriendDecl()
754 Owner->addDecl(FD); in VisitFriendDecl()
[all …]
HDSemaLambda.cpp257 DC->addDecl(Class); in createLambdaClosureType()
830 LSI->Lambda->addDecl(Field); in buildInitCaptureField()
1288 Class->addDecl(ConversionTemplate); in addFunctionPointerConversion()
1290 Class->addDecl(Conversion); in addFunctionPointerConversion()
1329 Class->addDecl(StaticInvokerTemplate); in addFunctionPointerConversion()
1331 Class->addDecl(Invoke); in addFunctionPointerConversion()
1376 Class->addDecl(Conversion); in addBlockPointerConversion()
1528 Class->addDecl(TemplateOrNonTemplateCallOperatorDecl); in BuildLambdaExpr()
HDSemaLookup.cpp488 addDecl(*DI); in addDeclsFromBasePaths()
534 R.addDecl(S.getASTContext().getFloat128StubType()); in LookupBuiltin()
550 R.addDecl(D); in LookupBuiltin()
686 R.addDecl(D); in LookupDirect()
719 R.addDecl(ConvTemplate); in LookupDirect()
756 R.addDecl(Specialization); in LookupDirect()
952 R.addDecl(ND); in CppLookupName()
1011 R.addDecl(ND); in CppLookupName()
1105 R.addDecl(ND); in CppLookupName()
1507 R.addDecl(D); in LookupName()
[all …]
HDSemaDeclCXX.cpp3475 MemberLookup.addDecl(Indirect ? cast<ValueDecl>(Indirect) in BuildImplicitMemberInitializer()
7277 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef()
7305 Parent->addDecl(UD); in ActOnStartNamespaceDef()
7541 R.addDecl(Corrected.getCorrectionDecl()); in TryNamespaceTypoCorrection()
7581 R.addDecl(getOrCreateStdNamespace()); in ActOnUsingDirective()
7639 Ctx->addDecl(UDir); in PushUsingDirective()
7891 CurContext->addDecl(Shadow); in BuildUsingShadowDecl()
8109 CurContext->addDecl(D); in BuildUsingDeclaration()
8118 CurContext->addDecl(UD); in BuildUsingDeclaration()
8183 R.addDecl(Ctor); in BuildUsingDeclaration()
[all …]
HDSemaCXXScopeSpec.cpp527 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
608 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
HDSemaTemplate.cpp331 Found.addDecl(Corrected.getCorrectionDecl()); in LookupTemplateName()
1169 CurContext->addDecl(Friend); in CheckClassTemplate()
2643 CurContext->addDecl(Specialization); in ActOnVarTemplateSpecialization()
2653 PrevSpec.addDecl(PrevDecl); in ActOnVarTemplateSpecialization()
6482 CurContext->addDecl(Friend); in ActOnClassTemplateSpecialization()
6487 CurContext->addDecl(Specialization); in ActOnClassTemplateSpecialization()
6851 Candidates.addDecl(Specialization, I.getAccess()); in CheckFunctionTemplateSpecialization()
6937 Previous.addDecl(Specialization); in CheckFunctionTemplateSpecialization()
7031 Previous.addDecl(Instantiation); in CheckMemberSpecialization()
7125 Previous.addDecl(Instantiation); in CheckMemberSpecialization()
[all …]
HDSemaObjCProperty.cpp363 DC->addDecl(PDecl); in HandlePropertyInClassExtension()
575 DC->addDecl(PDecl); in CreatePropertyDecl()
1050 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
2049 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2128 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
HDSemaDecl.cpp791 Result.addDecl(D); in ClassifyName()
854 Result.addDecl(FirstDecl); in ClassifyName()
1213 CurContext->addDecl(D); in PushOnScopeChains()
1758 Parent->addDecl(CLinkageDecl); in LazilyCreateBuiltin()
4266 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion()
4335 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct()
6249 Previous.addDecl(Prev); in checkGlobalOrExternCConflict()
6325 Previous.addDecl(Prev); in checkForConflictWithNonVisibleExternC()
6741 Previous.addDecl(FD); in DiagnoseInvalidRedeclaration()
8029 CurContext->addDecl(NewSpec); in ActOnFunctionDeclarator()
[all …]
HDSemaDeclObjC.cpp1712 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1759 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1811 CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation()
1990 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
2023 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
4231 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod); in ActOnMethodDeclaration()
4361 Record->addDecl(FD); in ActOnDefs()
HDSemaStmt.cpp3739 DC->addDecl(RD); in CreateCapturedStmtRecordDecl()
3745 DC->addDecl(CD); in CreateCapturedStmtRecordDecl()
3791 DC->addDecl(Param); in ActOnCapturedRegionStart()
3826 DC->addDecl(Param); in ActOnCapturedRegionStart()
3833 DC->addDecl(Param); in ActOnCapturedRegionStart()
3844 DC->addDecl(Param); in ActOnCapturedRegionStart()
HDSema.cpp1301 OverloadSet.addDecl(*it); in tryExprAsCall()
1414 PlausibleOverloads.addDecl(It.getDecl()); in notePlausibleOverloads()
HDTreeTransform.h1647 getSema().CurContext->addDecl(Var); in RebuildExceptionDecl()
1918 R.addDecl(FoundDecl); in RebuildMemberExpr()
8960 R.addDecl(I); in TransformUnresolvedLookupExpr()
8964 R.addDecl(InstD); in TransformUnresolvedLookupExpr()
9804 R.addDecl(I); in TransformUnresolvedMemberExpr()
9808 R.addDecl(InstD); in TransformUnresolvedMemberExpr()
10988 Functions.addDecl(ND); in RebuildCXXOperatorCallExpr()
/NextBSD/contrib/llvm/tools/lldb/source/Symbol/
HDClangASTContext.cpp1231 decl_ctx->addDecl (decl); in CreateRecordType()
1404 decl_ctx->addDecl (class_template_decl); in CreateClassTemplateDecl()
1672 decl_ctx->addDecl (namespace_decl); in GetUniqueNamespaceDeclaration()
1690 translation_unit_decl->addDecl (namespace_decl); in GetUniqueNamespaceDeclaration()
1709 parent_namespace_decl->addDecl (namespace_decl); in GetUniqueNamespaceDeclaration()
1733 decl_ctx->addDecl(using_directive_decl); in GetUniqueNamespaceDeclaration()
1790 decl_ctx->addDecl (func_decl); in CreateFunctionDeclaration()
HDClangASTType.cpp4905 record_decl->addDecl(field); in AddFieldToRecordType()
4935 class_interface_decl->addDecl(field); in AddFieldToRecordType()
5047 record_decl->addDecl(*ifi); in BuildIndirectFields()
5086 record_decl->addDecl(var_decl); in AddVariableToRecordType()
5255 cxx_record_decl->addDecl (cxx_method_decl); in AddMethodToCXXRecordType()
5411 class_interface_decl->addDecl (property_decl); in AddObjCClassProperty()
5493 class_interface_decl->addDecl(getter); in AddObjCClassProperty()
5543 class_interface_decl->addDecl(setter); in AddObjCClassProperty()
5673 class_interface_decl->addDecl (objc_method_decl); in AddMethodToObjCObjectType()
5990 enum_type->getDecl()->addDecl(enumerator_decl); in AddEnumerationValueToEnumerationType()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDCommentSema.cpp970 void addDecl(const NamedDecl *ND);
985 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { in addDecl() function in clang::comments::__anond6056c630211::SimpleTypoCorrector
1012 Corrector.addDecl(ParamVars[i]); in correctTypoInParmVarReference()
1062 Corrector.addDecl(Param); in CorrectTypoInTParamReferenceHelper()
HDDeclCXX.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()
HDASTContext.cpp4796 CFConstantStringTypeDecl->addDecl(Field); in getCFConstantStringType()
4808 TUDecl->addDecl(ObjCSuperTypeDecl); in getObjCSuperType()
4845 RD->addDecl(Field); in getBlockDescriptorType()
4885 RD->addDecl(Field); in getBlockDescriptorExtendedType()
6067 VaListTagDecl->addDecl(Field); in CreateAArch64ABIBuiltinVaListDecl()
6119 VaListTagDecl->addDecl(Field); in CreatePowerABIBuiltinVaListDecl()
6179 VaListTagDecl->addDecl(Field); in CreateX86_64ABIBuiltinVaListDecl()
6239 VaListDecl->addDecl(Field); in CreateAAPCSABIBuiltinVaListDecl()
6288 VaListTagDecl->addDecl(Field); in CreateSystemZBuiltinVaListDecl()
HDDeclBase.cpp1228 void DeclContext::addDecl(Decl *D) { in addDecl() function in DeclContext
/NextBSD/contrib/llvm/tools/lldb/source/Expression/
HDASTResultSynthesizer.cpp388 DC->addDecl(result_decl); in SynthesizeBodyResult()
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseDeclCXX.cpp2473 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2476 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2604 CommonLateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
2607 LateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()

12