Home
last modified time | relevance | path

Searched refs:FirstDeclID (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang/include/clang/Serialization/
DASTWriter.h200 serialization::DeclID FirstDeclID = serialization::NUM_PREDEF_DECL_IDS; variable
203 serialization::DeclID NextDeclID = FirstDeclID;
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2241 DeclID FirstDeclID = ReadDeclID(Record, Idx); in VisitRedeclarable() local
2244 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()
DASTWriter.cpp2811 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()
DASTWriterDecl.cpp2143 assert(ID >= FirstDeclID && "invalid decl ID"); in WriteDecl()
2156 unsigned Index = ID - FirstDeclID; in WriteDecl()
/external/clang/include/clang/Serialization/
DASTWriter.h176 serialization::DeclID FirstDeclID; variable
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp2448 DeclID FirstDeclID = readDeclID(); in VisitRedeclarable() local
2451 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()
DASTWriterDecl.cpp2404 assert(ID >= FirstDeclID && "invalid decl ID"); in WriteDecl()
2417 unsigned Index = ID - FirstDeclID; in WriteDecl()
DASTWriter.cpp2927 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()