Home | History | Annotate | Download | only in AST

Lines Matching refs:Decls

143   llvm::errs() << "  " << totalDecls << " decls total.\n";
149 llvm::errs() << " " << n##DERIVED##s << " " #DERIVED " decls, " \
1029 DeclContext::BuildDeclChain(ArrayRef<Decl*> Decls,
1034 for (unsigned I = 0, N = Decls.size(); I != N; ++I) {
1035 if (FieldsAlreadyLoaded && isa<FieldDecl>(Decls[I]))
1038 Decl *D = Decls[I];
1073 SmallVector<Decl*, 64> Decls;
1075 Source->FindExternalLexicalDecls(this, Decls);
1077 if (Decls.empty())
1090 BuildDeclChain(Decls, FieldsAlreadyLoaded);
1116 ArrayRef<NamedDecl*> Decls) {
1135 for (unsigned I = 0, N = Decls.size(); I != N; ++I)
1136 if (List.HandleRedeclaration(Decls[I], /*IsKnownNewer*/false))
1138 Skip.push_back(Decls.size());
1142 for (unsigned I = 0, N = Decls.size(); I != N; ++I) {
1146 List.AddSubsequentDecl(Decls[I]);
1151 I = Decls.begin(), E = Decls.end(); I != E; ++I) {
1184 "decl is not in decls list");
1210 // Remove only decls that have a name
1325 // We no longer have any lazy decls.
1337 // it's semantically within its decl context. Any other decls which
1342 // in C++, we do not track external visible decls for the TU, so in
1393 // If we have a lookup result with no external decls, we are done.
1556 // it. If we might have externally-stored decls with this name, look them
1560 // FIXME: As a performance hack, don't add such decls into the translation
1567 // If we have lazily omitted any decls, they might have the same name as
1653 assert(!LookupPtr && "context already has a decls map");
1655 "creating decls map on non-primary context");