Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DUnresolvedSet.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
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()
DDeclObjC.h1866 addDecl(method); in addInstanceMethod()
1871 addDecl(method); in addClassMethod()
/external/clang/include/clang/Sema/
DLookup.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()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp300 Owner->addDecl(Inst); in VisitLabelDecl()
319 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
401 Owner->addDecl(Typedef); in VisitTypedefDecl()
408 Owner->addDecl(Typedef); in VisitTypeAliasDecl()
450 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
600 Owner->addDecl(Field); in VisitFieldDecl()
645 Owner->addDecl(Property); in VisitMSPropertyDecl()
674 Owner->addDecl(IndirectField); in VisitIndirectFieldDecl()
703 Owner->addDecl(FD); in VisitFriendDecl()
722 Owner->addDecl(FD); in VisitFriendDecl()
[all …]
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()
1380 Class->addDecl(Conversion); in addBlockPointerConversion()
1499 Class->addDecl(TemplateOrNonTemplateCallOperatorDecl); in ActOnLambdaExpr()
DSemaLookup.cpp485 addDecl(*DI); in addDeclsFromBasePaths()
531 R.addDecl(S.getASTContext().getFloat128StubType()); in LookupBuiltin()
547 R.addDecl(D); in LookupBuiltin()
683 R.addDecl(D); in LookupDirect()
716 R.addDecl(ConvTemplate); in LookupDirect()
753 R.addDecl(Specialization); in LookupDirect()
949 R.addDecl(ND); in CppLookupName()
1008 R.addDecl(ND); in CppLookupName()
1102 R.addDecl(ND); in CppLookupName()
1365 R.addDecl(D); in LookupName()
[all …]
DSemaDeclCXX.cpp3504 MemberLookup.addDecl(Indirect ? cast<ValueDecl>(Indirect) in BuildImplicitMemberInitializer()
7244 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef()
7272 Parent->addDecl(UD); in ActOnStartNamespaceDef()
7508 R.addDecl(Corrected.getCorrectionDecl()); in TryNamespaceTypoCorrection()
7548 R.addDecl(getOrCreateStdNamespace()); in ActOnUsingDirective()
7606 Ctx->addDecl(UDir); in PushUsingDirective()
7858 CurContext->addDecl(Shadow); in BuildUsingShadowDecl()
8076 CurContext->addDecl(D); in BuildUsingDeclaration()
8085 CurContext->addDecl(UD); in BuildUsingDeclaration()
8150 R.addDecl(Ctor); in BuildUsingDeclaration()
[all …]
DSemaObjCProperty.cpp366 DC->addDecl(PDecl); in HandlePropertyInClassExtension()
576 DC->addDecl(PDecl); in CreatePropertyDecl()
1045 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
2001 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
2067 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
DSemaCXXScopeSpec.cpp527 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
608 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
DSemaDeclObjC.cpp907 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
934 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
983 CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation()
1160 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
1193 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
3248 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod); in ActOnMethodDeclaration()
3378 Record->addDecl(FD); in ActOnDefs()
DSemaTemplate.cpp332 Found.addDecl(Corrected.getCorrectionDecl()); in LookupTemplateName()
1149 CurContext->addDecl(Friend); in CheckClassTemplate()
2633 CurContext->addDecl(Specialization); in ActOnVarTemplateSpecialization()
2643 PrevSpec.addDecl(PrevDecl); in ActOnVarTemplateSpecialization()
6431 CurContext->addDecl(Friend); in ActOnClassTemplateSpecialization()
6436 CurContext->addDecl(Specialization); in ActOnClassTemplateSpecialization()
6800 Candidates.addDecl(Specialization, I.getAccess()); in CheckFunctionTemplateSpecialization()
6886 Previous.addDecl(Specialization); in CheckFunctionTemplateSpecialization()
6980 Previous.addDecl(Instantiation); in CheckMemberSpecialization()
7074 Previous.addDecl(Instantiation); in CheckMemberSpecialization()
[all …]
DSemaDecl.cpp792 Result.addDecl(D); in ClassifyName()
855 Result.addDecl(FirstDecl); in ClassifyName()
1198 CurContext->addDecl(D); in PushOnScopeChains()
1743 Parent->addDecl(CLinkageDecl); in LazilyCreateBuiltin()
4165 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion()
4234 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct()
6108 Previous.addDecl(Prev); in checkGlobalOrExternCConflict()
6184 Previous.addDecl(Prev); in checkForConflictWithNonVisibleExternC()
6600 Previous.addDecl(FD); in DiagnoseInvalidRedeclaration()
7882 CurContext->addDecl(NewSpec); in ActOnFunctionDeclarator()
[all …]
DSemaStmt.cpp3722 DC->addDecl(RD); in CreateCapturedStmtRecordDecl()
3728 DC->addDecl(CD); in CreateCapturedStmtRecordDecl()
3774 DC->addDecl(Param); in ActOnCapturedRegionStart()
3809 DC->addDecl(Param); in ActOnCapturedRegionStart()
3816 DC->addDecl(Param); in ActOnCapturedRegionStart()
3827 DC->addDecl(Param); in ActOnCapturedRegionStart()
DSema.cpp1276 OverloadSet.addDecl(*it); in tryExprAsCall()
1389 PlausibleOverloads.addDecl(It.getDecl()); in notePlausibleOverloads()
DSemaOpenMP.cpp608 CurContext->addDecl(VDPrivate); in EndOpenMPDSABlock()
784 CurContext->addDecl(D); in ActOnOpenMPThreadprivateDirective()
4705 CurContext->addDecl(VDPrivate); in ActOnOpenMPPrivateClause()
4964 CurContext->addDecl(VDPrivate); in ActOnOpenMPFirstprivateClause()
5742 CurContext->addDecl(Init); in ActOnOpenMPLinearClause()
5771 CurContext->addDecl(SaveVar); in ActOnOpenMPLinearClause()
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCTypeVendor.cpp207 ast_ctx->getTranslationUnitDecl()->addDecl(new_iface_decl); in GetDeclForISA()
539 interface_decl->addDecl(method_decl); in FinishDecl()
554 interface_decl->addDecl(method_decl); in FinishDecl()
/external/lldb/source/Symbol/
DClangASTContext.cpp1171 decl_ctx->addDecl (decl); in CreateRecordType()
1344 decl_ctx->addDecl (class_template_decl); in CreateClassTemplateDecl()
1827 decl_ctx->addDecl (namespace_decl); in GetUniqueNamespaceDeclaration()
1845 translation_unit_decl->addDecl (namespace_decl); in GetUniqueNamespaceDeclaration()
1864 parent_namespace_decl->addDecl (namespace_decl); in GetUniqueNamespaceDeclaration()
1888 decl_ctx->addDecl(using_directive_decl); in GetUniqueNamespaceDeclaration()
1945 decl_ctx->addDecl (func_decl); in CreateFunctionDeclaration()
DClangASTType.cpp4359 record_decl->addDecl(field); in AddFieldToRecordType()
4389 class_interface_decl->addDecl(field); in AddFieldToRecordType()
4497 record_decl->addDecl(*ifi); in BuildIndirectFields()
4525 record_decl->addDecl(var_decl); in AddVariableToRecordType()
4694 cxx_record_decl->addDecl (cxx_method_decl); in AddMethodToCXXRecordType()
4847 class_interface_decl->addDecl (property_decl); in AddObjCClassProperty()
4927 class_interface_decl->addDecl(getter); in AddObjCClassProperty()
4974 class_interface_decl->addDecl(setter); in AddObjCClassProperty()
5103 class_interface_decl->addDecl (objc_method_decl); in AddMethodToObjCObjectType()
5416 enum_type->getDecl()->addDecl(enumerator_decl); in AddEnumerationValueToEnumerationType()
/external/clang/lib/AST/
DCommentSema.cpp970 void addDecl(const NamedDecl *ND);
985 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { in addDecl() function in clang::comments::__anon5185a10c0211::SimpleTypoCorrector
1012 Corrector.addDecl(ParamVars[i]); in correctTypoInParmVarReference()
1062 Corrector.addDecl(Param); in CorrectTypoInTParamReferenceHelper()
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()
DASTContext.cpp4698 CFConstantStringTypeDecl->addDecl(Field); in getCFConstantStringType()
4710 TUDecl->addDecl(ObjCSuperTypeDecl); in getObjCSuperType()
4747 RD->addDecl(Field); in getBlockDescriptorType()
4787 RD->addDecl(Field); in getBlockDescriptorExtendedType()
5974 VaListTagDecl->addDecl(Field); in CreateAArch64ABIBuiltinVaListDecl()
6026 VaListTagDecl->addDecl(Field); in CreatePowerABIBuiltinVaListDecl()
6086 VaListTagDecl->addDecl(Field); in CreateX86_64ABIBuiltinVaListDecl()
6146 VaListDecl->addDecl(Field); in CreateAAPCSABIBuiltinVaListDecl()
6195 VaListTagDecl->addDecl(Field); in CreateSystemZBuiltinVaListDecl()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp122 DestContext->addDecl(NewNamespace); in CorrectTypo()
/external/lldb/source/Expression/
DASTResultSynthesizer.cpp388 DC->addDecl(result_decl); in SynthesizeBodyResult()
/external/clang/lib/Parse/
DParseDeclCXX.cpp2461 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2464 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2574 CommonLateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
2577 LateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()

12