reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/DeclBase.h
 2240   lookup_result lookup(DeclarationName Name) const;

References

tools/clang/lib/ARCMigrate/ObjCMT.cpp
  623       DeclContext::lookup_result R = IDecl->lookup(Property->getDeclName());
  655       DeclContext::lookup_result R = ImpDecl->lookup(MD->getDeclName());
tools/clang/lib/AST/ASTContext.cpp
10106        FD->getDeclContext()->getRedeclContext()->lookup(FD->getDeclName())) {
tools/clang/lib/AST/CXXInheritance.cpp
  421   for (Path.Decls = BaseRecord->lookup(Name);
  435   for (Path.Decls = BaseRecord->lookup(Name);
  480   for (Path.Decls = BaseRecord->lookup(Name); !Path.Decls.empty();
  495   for (Path.Decls = BaseRecord->lookup(Name); !Path.Decls.empty();
  511   for (Path.Decls = BaseRecord->lookup(Name);
  528   DeclContext::lookup_result DirectResult = lookup(Name);
tools/clang/lib/AST/ComparisonCategories.cpp
   60   DeclContextLookupResult Lookup = Record->getCanonicalDecl()->lookup(
   72         Ctx.getTranslationUnitDecl()->lookup(&Ctx.Idents.get("std"));
   83   DeclContextLookupResult Lookup = StdNS->lookup(&Ctx.Idents.get(Name));
tools/clang/lib/AST/DeclBase.cpp
 1616     return PrimaryContext->lookup(Name);
 1713     lookup_result LookupResults = lookup(Name);
 1911   lookup_result Result = lookup(UsingDirectiveDecl::getName());
tools/clang/lib/AST/DeclCXX.cpp
 1407   DeclContext::lookup_result Calls = RD.lookup(Name);
 1436   DeclContext::lookup_result Invoker = lookup(Name);
 1773   DeclContext::lookup_result R = lookup(Name);
 2007   for (auto *ND : RD->lookup(getDeclName())) {
 2205   DeclContext::lookup_result R = getDeclContext()->lookup(getDeclName());
tools/clang/lib/AST/DeclObjC.cpp
   80   lookup_result R = lookup(Id);
  108   lookup_result R = lookup(Sel);
  126   lookup_result R = lookup(Sel);
  197   DeclContext::lookup_result R = DC->lookup(propertyID);
tools/clang/lib/AST/ExternalASTMerger.cpp
   66       SourceParentDC.get()->lookup(SourceName.get());
  498                           SourceDC.get()->lookup(*FromNameOrErr);
tools/clang/lib/Analysis/BodyFarm.cpp
  235   DeclContextLookupResult Decls = RD->lookup(DeclName);
tools/clang/lib/CodeGen/CGBlocks.cpp
 2960     for (const auto &Result : DC->lookup(&II))
tools/clang/lib/CodeGen/CGCUDANV.cpp
  281   for (const auto &Result : DC->lookup(&cudaLaunchKernelII)) {
tools/clang/lib/CodeGen/CGExprCXX.cpp
 1322   for (auto *Decl : Ctx.getTranslationUnitDecl()->lookup(Name))
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1228         for (const auto &Result : DC->lookup(&II))
 2306       for (const auto &Result : DC->lookup(&II))
tools/clang/lib/CodeGen/CGObjCMac.cpp
 6359   for (const auto &Result : DC->lookup(&II))
tools/clang/lib/CodeGen/CodeGenModule.cpp
 3302   for (const auto &Result : DC->lookup(&CII))
 3317     for (const auto &Result : DC->lookup(&NS)) {
 3320         for (const auto &Result : LSD->lookup(&NS))
 3325         for (const auto &Result : ND->lookup(&CXXII))
 4679         for (const auto &Result : DC->lookup(&II))
tools/clang/lib/Index/IndexDecl.cpp
  205       for (const NamedDecl *ND : Pattern->lookup(D->getDeclName())) {
tools/clang/lib/Index/IndexingContext.cpp
  222       for (const NamedDecl *BaseND : Pattern->lookup(ND->getDeclName())) {
  232         for (const NamedDecl *BaseECD : Pattern->lookup(ECD->getDeclName()))
tools/clang/lib/Sema/SemaCodeComplete.cpp
 1017   return Record->lookup(ConstructorName);
tools/clang/lib/Sema/SemaDecl.cpp
  211       for (NamedDecl *ND : BaseRD->lookup(&II)) {
 5864   auto Result = Context.getExternCContextDecl()->lookup(Name);
 7460           S.Context.getTranslationUnitDecl()->lookup(ND->getDeclName());
 7819     for (Path.Decls = BaseRecord->lookup(Name); !Path.Decls.empty();
tools/clang/lib/Sema/SemaDeclAttr.cpp
  469         Record->lookup(S.Context.DeclarationNames.getCXXOperatorName(Op));
tools/clang/lib/Sema/SemaDeclCXX.cpp
 3106     for (const auto Field : Base->lookup(FieldName)) {
 4034   DeclContext::lookup_result Result = ClassDecl->lookup(MemberOrBase);
 6336     DeclContext::lookup_result R = Record->lookup(Record->getDeclName());
 8216     for (Path.Decls = BaseRecord->lookup(Name); !Path.Decls.empty();
 8278   DeclContext::lookup_result R = DC->lookup(MD->getDeclName());
11405   for (auto *D : FD->getParent()->lookup(Name))
11555   for (NamedDecl *Ctor : Derived->lookup(Name))
13524         ClassPattern->lookup(Field->getDeclName());
tools/clang/lib/Sema/SemaExprCXX.cpp
  108   for (NamedDecl *ND : CurClass->lookup(&II)) {
 2773   DeclContext::lookup_result R = GlobalCtx->lookup(Name);
tools/clang/lib/Sema/SemaInit.cpp
 2497       DeclContext::lookup_result Lookup = RT->getDecl()->lookup(FieldName);
tools/clang/lib/Sema/SemaLambda.cpp
 1867         Lambda->lookup(
tools/clang/lib/Sema/SemaLookup.cpp
 1008   DeclContext::lookup_result DR = DC->lookup(R.getLookupName());
 2135   Path.Decls = BaseRecord->lookup(Name);
 3196   DeclContext::lookup_result R = RD->lookup(Name);
 3323   return Class->lookup(Name);
 3557     DeclContext::lookup_result R = NS->lookup(Name);
tools/clang/lib/Sema/SemaObjCProperty.cpp
  117   DeclContext::lookup_result R = Proto->lookup(Prop->getDeclName());
  238       DeclContext::lookup_result R = Super->lookup(Res->getDeclName());
 1025   for (auto Found : OrigClass->lookup(Prop->getDeclName())) {
 1113         DeclContext::lookup_result R = Ext->lookup(property->getDeclName());
tools/clang/lib/Sema/SemaOpenMP.cpp
12778     DeclContext::lookup_result R = NS->lookup(Id.getName());
tools/clang/lib/Sema/SemaTemplate.cpp
 2057   auto Existing = DC->lookup(Transform.DeductionGuideName);
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
 2862             ClassPattern->lookup(Field->getDeclName());
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  814     DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName());
 1336     DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName());
 1503     = Owner->lookup(ClassTemplate->getDeclName());
 1535     DeclContext::lookup_result Found = Owner->lookup(Pattern->getDeclName());
 1587   DeclContext::lookup_result Found = Owner->lookup(VarTemplate->getDeclName());
 5524       DeclContext::lookup_result Found = ParentDC->lookup(Name);
tools/clang/lib/Sema/TreeTransform.h
 3229     DeclContext::lookup_result Lookup = TUDecl->lookup(DeclarationName(&Name));
tools/clang/lib/Serialization/ASTReader.cpp
 7632         DC->lookup(Name);
tools/clang/lib/Serialization/ASTWriter.cpp
 4147     DC->lookup(Name);
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
  819   DeclContext::lookup_result R = CatDecl->getClassInterface()->lookup(ID);
tools/clang/lib/StaticAnalyzer/Checkers/GTestChecker.cpp
  253   DeclContext::lookup_result Result = AssertionResultDecl->lookup(SuccessII);
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
  804   if (!RD->lookup(DeclName).empty())
tools/clang/lib/Tooling/Core/Lookup.cpp
  154       auto LookupRes = NS->lookup(DeclarationName(&AST.Idents.get(Head)));
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  307       auto LookupRes = DC->lookup(DeclarationName(&AST.Idents.get(Name)));
tools/clang/tools/extra/clangd/FindTarget.cpp
  106         for (const NamedDecl *BaseND : Parent->lookup(ND->getDeclName()))
  112           for (const NamedDecl *BaseECD : Pattern->lookup(ECD->getDeclName()))
tools/clang/tools/extra/clangd/unittests/TestTU.cpp
  125     auto LookupRes = Scope.lookup(DeclarationName(&Ctx.Idents.get(Name)));
tools/clang/tools/libclang/CXType.cpp
 1025   RecordDecl::lookup_result Res = RD->lookup(FieldName);
tools/clang/unittests/AST/ASTContextParentMapTest.cpp
   89   auto &Foo = *TU.lookup(&Ctx.Idents.get("foo")).front();
   90   auto &Bar = *cast<DeclContext>(Foo).lookup(&Ctx.Idents.get("bar")).front();
tools/clang/unittests/Tooling/RecursiveASTVisitorTests/TraversalScope.cpp
   38   auto &Foo = *TU.lookup(&Ctx.Idents.get("foo")).front();
   39   auto &Bar = *cast<DeclContext>(Foo).lookup(&Ctx.Idents.get("bar")).front();
tools/lldb/include/lldb/Symbol/ClangASTContext.h
  219             decl_context->lookup(myName);
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
   64           non_const_interface_decl->lookup(name);
  584         ast_ctx->getTranslationUnitDecl()->lookup(decl_name);
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
  334   clang::DeclContext::lookup_result result = decl_context.lookup(decl_name);
tools/lldb/source/Symbol/ClangASTContext.cpp
  190           for (path.Decls = base_record->lookup(name); !path.Decls.empty();
 1531   clang::DeclContext::lookup_result result = decl_ctx->lookup(decl_name);
 1815     clang::DeclContext::lookup_result result = decl_ctx->lookup(decl_name);