Lines Matching defs:Decls
884 // Decls and Types block.
980 // Statements and Exprs can occur in the Decls and Types block.
2646 SmallVector<KindDeclIDPair, 64> Decls;
2647 for (const auto *D : DC->decls())
2648 Decls.push_back(std::make_pair(D->getKind(), GetDeclRef(D)));
2651 Stream.EmitRecordWithBlob(DeclContextLexicalAbbrev, Record, data(Decls));
3231 SmallVector<Decl *, 16> Decls(IdResolver.begin(II),
3233 for (SmallVectorImpl<Decl *>::reverse_iterator D = Decls.rbegin(),
3234 DEnd = Decls.rend();
3423 // 2 bytes for num of decls and 4 for each DeclID.
3500 // Add the names we needed to defer. Note, this shouldn't add any new decls
4066 // make sure all visible decls in those DeclContexts are written out.
4080 // Build a record containing all of the file scoped decls in this file.
4244 // Make sure visible decls, added to DeclContexts previously loaded from
4252 // Make sure all decls associated with an identifier are registered for
4350 // These things can only be done once we've written out decls and types.
4382 // Write the record containing unused file scoped decls.
4862 assert(0 && "New decl seen after serializing all the decls to emit!");
4919 LocDeclIDsTy &Decls = Info->DeclIDs;
4921 if (Decls.empty() || Decls.back().first <= Offset) {
4922 Decls.push_back(LocDecl);
4927 std::upper_bound(Decls.begin(), Decls.end(), LocDecl, llvm::less_first());
4929 Decls.insert(I, LocDecl);