Searched refs:FirstDeclID (Results 1 – 8 of 8) sorted by relevance
200 serialization::DeclID FirstDeclID = serialization::NUM_PREDEF_DECL_IDS; variable203 serialization::DeclID NextDeclID = FirstDeclID;
2241 DeclID FirstDeclID = ReadDeclID(Record, Idx); in VisitRedeclarable() local2244 bool IsKeyDecl = ThisDeclID == FirstDeclID; in VisitRedeclarable()2251 if (FirstDeclID == 0) { in VisitRedeclarable()2252 FirstDeclID = ThisDeclID; in VisitRedeclarable()2276 T *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable()2295 return RedeclarableResult(FirstDeclID, MergeWith, IsKeyDecl); in VisitRedeclarable()
2811 FirstDeclID - NUM_PREDEF_DECL_IDS}; in WriteTypeDeclOffsets()4078 ASTHasCompilerErrors(false), FirstDeclID(NUM_PREDEF_DECL_IDS), in ASTWriter()4079 NextDeclID(FirstDeclID), FirstTypeID(NUM_PREDEF_TYPE_IDS), in ASTWriter()5570 assert(FirstDeclID == NextDeclID && in ReaderInitialized()5582 FirstDeclID = NUM_PREDEF_DECL_IDS + Chain->getTotalNumDecls(); in ReaderInitialized()5588 NextDeclID = FirstDeclID; in ReaderInitialized()
2143 assert(ID >= FirstDeclID && "invalid decl ID"); in WriteDecl()2156 unsigned Index = ID - FirstDeclID; in WriteDecl()
176 serialization::DeclID FirstDeclID; variable
2448 DeclID FirstDeclID = readDeclID(); in VisitRedeclarable() local2451 bool IsKeyDecl = ThisDeclID == FirstDeclID; in VisitRedeclarable()2458 if (FirstDeclID == 0) { in VisitRedeclarable()2459 FirstDeclID = ThisDeclID; in VisitRedeclarable()2483 auto *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable()2502 return RedeclarableResult(MergeWith, FirstDeclID, IsKeyDecl); in VisitRedeclarable()
2404 assert(ID >= FirstDeclID && "invalid decl ID"); in WriteDecl()2417 unsigned Index = ID - FirstDeclID; in WriteDecl()
2927 FirstDeclID - NUM_PREDEF_DECL_IDS}; in WriteTypeDeclOffsets()5846 assert(FirstDeclID == NextDeclID && in ReaderInitialized()5858 FirstDeclID = NUM_PREDEF_DECL_IDS + Chain->getTotalNumDecls(); in ReaderInitialized()5864 NextDeclID = FirstDeclID; in ReaderInitialized()