Home
last modified time | relevance | path

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

1234

/external/clang/include/clang/AST/
DUnresolvedSet.h82 void addDecl(NamedDecl *D) { in addDecl() function
83 addDecl(D, AS_none); in addDecl()
86 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()
/external/llvm-project/clang/include/clang/AST/
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
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()
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCDeclVendor.cpp177 ast_ctx.getTranslationUnitDecl()->addDecl(new_iface_decl); in GetDeclForISA()
451 interface_decl->addDecl(method_decl); in FinishDecl()
469 interface_decl->addDecl(method_decl); in FinishDecl()
500 interface_decl->addDecl(ivar_decl); in FinishDecl()
/external/clang/include/clang/Sema/
DLookup.h410 void addDecl(NamedDecl *D) { in addDecl() function
411 addDecl(D, D->getAccess()); in addDecl()
416 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() function
417 Decls.addDecl(D, AS); in addDecl()
/external/llvm-project/clang/include/clang/Sema/
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()
/external/llvm-project/clang/lib/Sema/
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()
DSemaTemplateInstantiateDecl.cpp789 Owner->addDecl(Inst); in VisitLabelDecl()
808 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
893 Owner->addDecl(Typedef); in VisitTypedefDecl()
900 Owner->addDecl(Typedef); in VisitTypeAliasDecl()
942 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
1122 Owner->addDecl(Field); in VisitFieldDecl()
1167 Owner->addDecl(Property); in VisitMSPropertyDecl()
1196 Owner->addDecl(IndirectField); in VisitIndirectFieldDecl()
1225 Owner->addDecl(FD); in VisitFriendDecl()
1244 Owner->addDecl(FD); in VisitFriendDecl()
[all …]
DSemaLambda.cpp256 DC->addDecl(Class); in createLambdaClosureType()
402 Class->addDecl(Method); in startLambdaDefinition()
416 Class->addDecl(TemplateMethod); in startLambdaDefinition()
1463 Class->addDecl(ConversionTemplate); in addFunctionPointerConversion()
1465 Class->addDecl(Conversion); in addFunctionPointerConversion()
1501 Class->addDecl(StaticInvokerTemplate); in addFunctionPointerConversion()
1503 Class->addDecl(Invoke); in addFunctionPointerConversion()
1556 Class->addDecl(Conversion); in addBlockPointerConversion()
1731 RD->addDecl(Field); in BuildCaptureField()
DSemaLookup.cpp643 addDecl(*DI); in addDeclsFromBasePaths()
848 LR.addDecl(NewOpenCLBuiltin); in InsertOCLBuiltinDeclarationsFromTable()
871 R.addDecl(getASTContext().getMakeIntegerSeqDecl()); in LookupBuiltin()
874 R.addDecl(getASTContext().getTypePackElementDecl()); in LookupBuiltin()
900 R.addDecl(D); in LookupBuiltin()
1058 R.addDecl(D); in LookupDirect()
1101 R.addDecl(ConvTemplate); in LookupDirect()
1138 R.addDecl(Specialization); in LookupDirect()
1277 R.addDecl(ND); in CppLookupName()
1321 R.addDecl(ND); in CppLookupName()
[all …]
DSemaCXXScopeSpec.cpp553 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
644 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
/external/clang/lib/Sema/
DSemaLambda.cpp258 DC->addDecl(Class); in createLambdaClosureType()
796 LSI->Lambda->addDecl(Field); in buildInitCaptureField()
1282 Class->addDecl(ConversionTemplate); in addFunctionPointerConversion()
1284 Class->addDecl(Conversion); in addFunctionPointerConversion()
1323 Class->addDecl(StaticInvokerTemplate); in addFunctionPointerConversion()
1325 Class->addDecl(Invoke); in addFunctionPointerConversion()
1370 Class->addDecl(Conversion); in addBlockPointerConversion()
1522 Class->addDecl(TemplateOrNonTemplateCallOperatorDecl); in BuildLambdaExpr()
DSemaTemplateInstantiateDecl.cpp446 Owner->addDecl(Inst); in VisitLabelDecl()
465 Owner->addDecl(Inst); in VisitNamespaceAliasDecl()
547 Owner->addDecl(Typedef); in VisitTypedefDecl()
554 Owner->addDecl(Typedef); in VisitTypeAliasDecl()
596 Owner->addDecl(Inst); in VisitTypeAliasTemplateDecl()
739 Owner->addDecl(Field); in VisitFieldDecl()
784 Owner->addDecl(Property); in VisitMSPropertyDecl()
813 Owner->addDecl(IndirectField); in VisitIndirectFieldDecl()
842 Owner->addDecl(FD); in VisitFriendDecl()
861 Owner->addDecl(FD); in VisitFriendDecl()
[all …]
DSemaLookup.cpp634 addDecl(*DI); in addDeclsFromBasePaths()
685 R.addDecl(S.getASTContext().getMakeIntegerSeqDecl()); in LookupBuiltin()
688 R.addDecl(S.getASTContext().getTypePackElementDecl()); in LookupBuiltin()
705 R.addDecl(D); in LookupBuiltin()
841 R.addDecl(D); in LookupDirect()
874 R.addDecl(ConvTemplate); in LookupDirect()
911 R.addDecl(Specialization); in LookupDirect()
1110 R.addDecl(ND); in CppLookupName()
1169 R.addDecl(ND); in CppLookupName()
1263 R.addDecl(ND); in CppLookupName()
[all …]
DSemaAttr.cpp183 Context.getTranslationUnitDecl()->addDecl(PCD); in ActOnPragmaMSComment()
191 Context.getTranslationUnitDecl()->addDecl(PDMD); in ActOnPragmaDetectMismatch()
DSemaDeclCXX.cpp3463 MemberLookup.addDecl(Indirect ? cast<ValueDecl>(Indirect) in BuildImplicitMemberInitializer()
7434 CurContext->addDecl(Namespc); in ActOnStartNamespaceDef()
7461 Parent->addDecl(UD); in ActOnStartNamespaceDef()
7697 R.addDecl(Corrected.getFoundDecl()); in TryNamespaceTypoCorrection()
7737 R.addDecl(getOrCreateStdNamespace()); in ActOnUsingDirective()
7794 Ctx->addDecl(UDir); in PushUsingDirective()
8078 CurContext->addDecl(Shadow); in BuildUsingShadowDecl()
8312 CurContext->addDecl(D); in BuildUsingDeclaration()
8321 CurContext->addDecl(UD); in BuildUsingDeclaration()
8392 R.addDecl(Ctor); in BuildUsingDeclaration()
[all …]
DSemaCXXScopeSpec.cpp551 Found.addDecl(ScopeLookupResult); in BuildCXXNestedNameSpecifier()
639 Found.addDecl(ND); in BuildCXXNestedNameSpecifier()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp126 DestContext->addDecl(NewNamespace); in CorrectTypo()
168 DestContext->addDecl(NewFunction); in CorrectTypo()
/external/llvm-project/clang/unittests/Sema/
DExternalSemaSourceTest.cpp125 DestContext->addDecl(NewNamespace); in CorrectTypo()
167 DestContext->addDecl(NewFunction); in CorrectTypo()
/external/clang/lib/AST/
DCommentSema.cpp968 void addDecl(const NamedDecl *ND);
983 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { in addDecl() function in clang::comments::__anon5185a10c0211::SimpleTypoCorrector
1010 Corrector.addDecl(ParamVars[i]); in correctTypoInParmVarReference()
1060 Corrector.addDecl(Param); in CorrectTypoInTParamReferenceHelper()
DDeclCXX.cpp616 Conversions.addDecl(Ctx, Primary, AS); in addedMember()
975 data().Conversions.get(Ctx).addDecl(Ctx, Shadow, Shadow->getAccess()); in addedMember()
1157 VOutput.addDecl(I.getDecl(), IAccess); in CollectVisibleConversions()
1159 Output.addDecl(Context, I.getDecl(), IAccess); in CollectVisibleConversions()
1220 Output.addDecl(Context, I.getDecl(), I.getAccess()); in CollectVisibleConversions()
/external/llvm-project/clang/lib/AST/
DCommentSema.cpp1061 void addDecl(const NamedDecl *ND);
1076 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { in addDecl() function in clang::comments::__anon216bdd1a0211::SimpleTypoCorrector
1103 Corrector.addDecl(ParamVars[i]); in correctTypoInParmVarReference()
1153 Corrector.addDecl(Param); in CorrectTypoInTParamReferenceHelper()
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp1351 decl_ctx->addDecl(decl); in CreateRecordType()
1521 decl_ctx->addDecl(class_template_decl); in CreateClassTemplateDecl()
1579 decl_ctx->addDecl(class_template_specialization_decl); in CreateClassTemplateSpecializationDecl()
1770 decl_ctx->addDecl(namespace_decl); in GetUniqueNamespaceDeclaration()
1781 translation_unit_decl->addDecl(namespace_decl); in GetUniqueNamespaceDeclaration()
1793 parent_namespace_decl->addDecl(namespace_decl); in GetUniqueNamespaceDeclaration()
1817 ctx->addDecl(decl); in CreateBlockDeclaration()
1852 decl_ctx->addDecl(using_decl); in CreateUsingDirectiveDeclaration()
1873 current_decl_ctx->addDecl(using_decl); in CreateUsingDeclaration()
1891 decl_context->addDecl(var_decl); in CreateVariableDeclaration()
[all …]
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DASTResultSynthesizer.cpp354 DC->addDecl(result_decl); in SynthesizeBodyResult()

1234