Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DUnresolvedSet.h114 void addDecl(NamedDecl *D) { in addDecl() function
115 addDecl(D, AS_none); in addDecl()
118 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
DASTUnresolvedSet.h44 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl() function
DDeclObjC.h1684 addDecl(method); in addInstanceMethod()
1689 addDecl(method); in addClassMethod()
DDeclBase.h1403 void addDecl(Decl *D);
/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.cpp169 Owner->addDecl(Inst); in VisitLabelDecl()
188 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
269 Owner->addDecl(Typedef); in VisitTypedefDecl()
275 Owner->addDecl(Typedef); in VisitTypeAliasDecl()
316 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
453 Owner->addDecl(Field); in VisitFieldDecl()
500 Owner->addDecl(Property); in VisitMSPropertyDecl()
530 Owner->addDecl(IndirectField); in VisitIndirectFieldDecl()
559 Owner->addDecl(FD); in VisitFriendDecl()
578 Owner->addDecl(FD); in VisitFriendDecl()
[all …]
DSemaLambda.cpp36 DC->addDecl(Class); in createLambdaClosureType()
502 LSI->Lambda->addDecl(NewFD); in checkInitCapture()
846 Class->addDecl(Conversion); in addFunctionPointerConversion()
873 Class->addDecl(Invoke); in addFunctionPointerConversion()
912 Class->addDecl(Conversion); in addBlockPointerConversion()
1021 Class->addDecl(CallOperator); in ActOnLambdaExpr()
DSemaLookup.cpp466 addDecl(*DI); in addDeclsFromBasePaths()
512 R.addDecl(S.getASTContext().getFloat128StubType()); in LookupBuiltin()
528 R.addDecl(D); in LookupBuiltin()
672 R.addDecl(D); in LookupDirect()
705 R.addDecl(ConvTemplate); in LookupDirect()
743 R.addDecl(Specialization); in LookupDirect()
900 R.addDecl(ND); in CppLookupName()
950 R.addDecl(ND); in CppLookupName()
1039 R.addDecl(ND); in CppLookupName()
1291 R.addDecl(D); in LookupName()
[all …]
DSemaDeclCXX.cpp2970 MemberLookup.addDecl(Indirect ? cast<ValueDecl>(Indirect) in BuildImplicitMemberInitializer()
6380 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef()
6408 Parent->addDecl(UD); in ActOnStartNamespaceDef()
6649 R.addDecl(Corrected.getCorrectionDecl()); in TryNamespaceTypoCorrection()
6689 R.addDecl(getOrCreateStdNamespace()); in ActOnUsingDirective()
6743 Ctx->addDecl(UDir); in PushUsingDirective()
6995 CurContext->addDecl(Shadow); in BuildUsingShadowDecl()
7152 CurContext->addDecl(D); in BuildUsingDeclaration()
7199 R.addDecl(ND); in BuildUsingDeclaration()
7927 ClassDecl->addDecl(DefaultCon); in DeclareImplicitDefaultConstructor()
[all …]
DSemaCXXScopeSpec.cpp458 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
515 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
DSemaObjCProperty.cpp379 DC->addDecl(PDecl); in HandlePropertyInClassExtension()
555 DC->addDecl(PDecl); in CreatePropertyDecl()
1101 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
1935 CD->addDecl(GetterMethod); in ProcessPropertyDecl()
1991 CD->addDecl(SetterMethod); in ProcessPropertyDecl()
DSemaTemplate.cpp331 Found.addDecl(Corrected.getCorrectionDecl()); in LookupTemplateName()
1141 CurContext->addDecl(Friend); in CheckClassTemplate()
2509 CurContext->addDecl(Specialization); in ActOnVarTemplateSpecialization()
2519 PrevSpec.addDecl(PrevDecl); in ActOnVarTemplateSpecialization()
6063 CurContext->addDecl(Friend); in ActOnClassTemplateSpecialization()
6068 CurContext->addDecl(Specialization); in ActOnClassTemplateSpecialization()
6430 Candidates.addDecl(Specialization, I.getAccess()); in CheckFunctionTemplateSpecialization()
6516 Previous.addDecl(Specialization); in CheckFunctionTemplateSpecialization()
6607 Previous.addDecl(Instantiation); in CheckMemberSpecialization()
6701 Previous.addDecl(Instantiation); in CheckMemberSpecialization()
[all …]
DSemaDeclObjC.cpp865 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
892 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
941 CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation()
1124 ImpDecl->addDecl(ivars[i]); in CheckImplementationIvars()
1161 ImpDecl->addDecl(ImplIvar); in CheckImplementationIvars()
3217 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod); in ActOnMethodDeclaration()
3345 Record->addDecl(FD); in ActOnDefs()
DSemaOpenMP.cpp147 CurContext->addDecl(D); in ActOnOpenMPThreadprivateDirective()
DSemaDecl.cpp649 Result.addDecl(D); in ClassifyName()
716 Result.addDecl(FirstDecl); in ClassifyName()
1054 CurContext->addDecl(D); in PushOnScopeChains()
3643 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion()
3707 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct()
5267 PrevDecl.addDecl(PrevVarTemplate->getTemplatedDecl()); in ActOnVariableDeclarator()
5453 Previous.addDecl(Prev); in checkGlobalOrExternCConflict()
5533 Previous.addDecl(Prev); in checkForConflictWithNonVisibleExternC()
5971 Previous.addDecl(FD); in DiagnoseInvalidRedeclaration()
7193 CurContext->addDecl(NewSpec); in ActOnFunctionDeclarator()
[all …]
DSema.cpp1160 OverloadSet.addDecl(*it); in tryExprAsCall()
1273 PlausibleOverloads.addDecl(It.getDecl()); in notePlausibleOverloads()
DSemaStmt.cpp3137 DC->addDecl(RD); in CreateCapturedStmtRecordDecl()
3142 DC->addDecl(CD); in CreateCapturedStmtRecordDecl()
3151 DC->addDecl(Param); in CreateCapturedStmtRecordDecl()
DTreeTransform.h1368 getSema().CurContext->addDecl(Var); in RebuildExceptionDecl()
1637 R.addDecl(FoundDecl); in RebuildMemberExpr()
7755 R.addDecl(*I); in TransformUnresolvedLookupExpr()
7759 R.addDecl(InstD); in TransformUnresolvedLookupExpr()
8564 R.addDecl(*I); in TransformUnresolvedMemberExpr()
8568 R.addDecl(InstD); in TransformUnresolvedMemberExpr()
9550 Functions.addDecl(ND); in RebuildCXXOperatorCallExpr()
/external/clang/lib/AST/
DCommentSema.cpp956 void addDecl(const NamedDecl *ND);
971 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { in addDecl() function in clang::comments::__anon959395d60211::SimpleTypoCorrector
998 Corrector.addDecl(ParamVars[i]); in correctTypoInParmVarReference()
1048 Corrector.addDecl(Param); in CorrectTypoInTParamReferenceHelper()
DDeclCXX.cpp560 data().Conversions.addDecl(getASTContext(), FunTmpl, AS); in addedMember()
566 data().Conversions.addDecl(getASTContext(), Conversion, AS); in addedMember()
886 data().Conversions.addDecl(getASTContext(), Shadow, Shadow->getAccess()); in addedMember()
1013 VOutput.addDecl(I.getDecl(), IAccess); in CollectVisibleConversions()
1015 Output.addDecl(Context, I.getDecl(), IAccess); in CollectVisibleConversions()
1078 Output.addDecl(Context, I.getDecl(), I.getAccess()); in CollectVisibleConversions()
DASTContext.cpp4495 CFConstantStringTypeDecl->addDecl(Field); in getCFConstantStringType()
4508 TUDecl->addDecl(ObjCSuperTypeDecl); in getObjCSuperType()
4549 T->addDecl(Field); in getBlockDescriptorType()
4592 T->addDecl(Field); in getBlockDescriptorExtendedType()
5803 VaListTagDecl->addDecl(Field); in CreateAArch64ABIBuiltinVaListDecl()
5864 VaListTagDecl->addDecl(Field); in CreatePowerABIBuiltinVaListDecl()
5938 VaListTagDecl->addDecl(Field); in CreateX86_64ABIBuiltinVaListDecl()
6027 VaListDecl->addDecl(Field); in CreateAAPCSABIBuiltinVaListDecl()
6087 VaListTagDecl->addDecl(Field); in CreateSystemZBuiltinVaListDecl()
DDeclBase.cpp1121 void DeclContext::addDecl(Decl *D) { in addDecl() function in DeclContext
/external/clang/lib/Parse/
DParseDeclCXX.cpp2170 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2173 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2322 CommonLateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
2325 LateParsedAttrs[i]->addDecl(ThisDecl); in ParseCXXClassMemberDeclaration()
/external/clang/lib/Frontend/
DCompilerInstance.cpp1396 TU->addDecl(ImportD); in loadModule()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp2408 D->addDecl(Field); in GetAddrOfConstantString()
2485 D->addDecl(Field); in getObjCFastEnumerationStateType()

12