Home
last modified time | relevance | path

Searched refs:LocalSLocEntryTable (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Basic/
DSourceManager.cpp396 LocalSLocEntryTable.clear(); in clearIDTables()
573 LocalSLocEntryTable.push_back(SLocEntry::get(NextLocalOffset, in createFileID()
586 FileID FID = FileID::get(LocalSLocEntryTable.size()-1); in createFileID()
625 LocalSLocEntryTable.push_back(SLocEntry::get(NextLocalOffset, Info)); in createExpansionLocImpl()
743 LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) { in getFileIDLocal()
745 I = LocalSLocEntryTable.end(); in getFileIDLocal()
748 I = LocalSLocEntryTable.begin()+LastFileIDLookup.ID; in getFileIDLocal()
757 FileID Res = FileID::get(int(I - LocalSLocEntryTable.begin())); in getFileIDLocal()
772 unsigned GreaterIndex = I - LocalSLocEntryTable.begin(); in getFileIDLocal()
802 if (!LocalSLocEntryTable[MiddleIndex].isExpansion()) in getFileIDLocal()
[all …]
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp332 LocalSLocEntryTable.clear(); in clearIDTables()
606 LocalSLocEntryTable.push_back( in createFileIDImpl()
615 FileID FID = FileID::get(LocalSLocEntryTable.size()-1); in createFileIDImpl()
665 LocalSLocEntryTable.push_back(SLocEntry::get(NextLocalOffset, Info)); in createExpansionLocImpl()
789 LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) { in getFileIDLocal()
791 I = LocalSLocEntryTable.end(); in getFileIDLocal()
794 I = LocalSLocEntryTable.begin()+LastFileIDLookup.ID; in getFileIDLocal()
803 FileID Res = FileID::get(int(I - LocalSLocEntryTable.begin())); in getFileIDLocal()
815 unsigned GreaterIndex = I - LocalSLocEntryTable.begin(); in getFileIDLocal()
835 if (MiddleIndex + 1 == LocalSLocEntryTable.size() || in getFileIDLocal()
[all …]
/external/clang/include/clang/Basic/
DSourceManager.h606 SmallVector<SrcMgr::SLocEntry, 0> LocalSLocEntryTable; variable
1506 unsigned local_sloc_entry_size() const { return LocalSLocEntryTable.size(); } in local_sloc_entry_size()
1511 assert(Index < LocalSLocEntryTable.size() && "Invalid index");
1512 return LocalSLocEntryTable[Index];
1531 return LocalSLocEntryTable[0];
1629 if (FID.ID+1 == static_cast<int>(LocalSLocEntryTable.size())) in isOffsetInFileID()
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h685 SmallVector<SrcMgr::SLocEntry, 0> LocalSLocEntryTable; variable
1662 unsigned local_sloc_entry_size() const { return LocalSLocEntryTable.size(); } in local_sloc_entry_size()
1666 assert(Index < LocalSLocEntryTable.size() && "Invalid index"); in getLocalSLocEntry()
1667 return LocalSLocEntryTable[Index]; in getLocalSLocEntry()
1686 return LocalSLocEntryTable[0];
1804 if (FID.ID+1 == static_cast<int>(LocalSLocEntryTable.size())) in isOffsetInFileID()