Home
last modified time | relevance | path

Searched refs:FilenameID (Results 1 – 14 of 14) sorted by relevance

/external/clang/include/clang/Basic/
DSourceManagerInternals.h38 int FilenameID; member
55 E.FilenameID = Filename; in get()
105 unsigned LineNo, int FilenameID);
107 unsigned LineNo, int FilenameID,
DSourceManager.h1395 void AddLineNote(SourceLocation Loc, unsigned LineNo, int FilenameID);
1396 void AddLineNote(SourceLocation Loc, unsigned LineNo, int FilenameID,
/external/llvm-project/clang/include/clang/Basic/
DSourceManagerInternals.h41 int FilenameID; member
58 E.FilenameID = Filename; in get()
111 unsigned LineNo, int FilenameID,
DSourceManager.h1533 void AddLineNote(SourceLocation Loc, unsigned LineNo, int FilenameID,
/external/clang/lib/Basic/
DSourceManager.cpp191 unsigned LineNo, int FilenameID) { in AddLineNote() argument
203 if (FilenameID == -1) in AddLineNote()
204 FilenameID = Entries.back().FilenameID; in AddLineNote()
212 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, Kind, in AddLineNote()
222 unsigned LineNo, int FilenameID, in AddLineNote() argument
225 assert(FilenameID != -1 && "Unspecified filename should use other accessor"); in AddLineNote()
248 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in AddLineNote()
290 int FilenameID) { in AddLineNote() argument
303 getLineTable().AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID); in AddLineNote()
308 int FilenameID, bool IsFileEntry, in AddLineNote() argument
[all …]
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp200 int FilenameID, unsigned EntryExit, in AddLineNote() argument
206 if (FilenameID == -1 && !Entries.empty()) in AddLineNote()
207 FilenameID = Entries.back().FilenameID; in AddLineNote()
228 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in AddLineNote()
267 int FilenameID, bool IsFileEntry, in AddLineNote() argument
290 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID, in AddLineNote()
1504 if (Entry->FilenameID != -1) { in getPresumedLoc()
1505 Filename = LineTable->getFilename(Entry->FilenameID); in getPresumedLoc()
/external/clang/lib/Lex/
DPPDirectives.cpp1164 int FilenameID = -1; in HandleLineDirective() local
1188 FilenameID = SourceMgr.getLineTableFilenameID(Literal.GetString()); in HandleLineDirective()
1195 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID); in HandleLineDirective()
1302 int FilenameID = -1; in HandleDigitDirective() local
1324 FilenameID = SourceMgr.getLineTableFilenameID(Literal.GetString()); in HandleDigitDirective()
1333 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID, in HandleDigitDirective()
DPragma.cpp437 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename()); in HandlePragmaSystemHeader() local
448 FilenameID, /*IsEntry=*/false, /*IsExit=*/false, in HandlePragmaSystemHeader()
/external/llvm-project/clang/lib/Lex/
DPPDirectives.cpp1175 int FilenameID = -1; in HandleLineDirective() local
1204 FilenameID = SourceMgr.getLineTableFilenameID(Literal.GetString()); in HandleLineDirective()
1219 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID, false, in HandleLineDirective()
1325 int FilenameID = -1; in HandleDigitDirective() local
1354 FilenameID = SourceMgr.getLineTableFilenameID(Literal.GetString()); in HandleDigitDirective()
1362 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID, IsFileEntry, in HandleDigitDirective()
DPragma.cpp479 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename()); in HandlePragmaSystemHeader() local
490 FilenameID, /*IsEntry=*/false, /*IsExit=*/false, in HandlePragmaSystemHeader()
/external/clang/lib/Serialization/
DASTWriter.cpp2074 if (FilenameMap.insert(std::make_pair(LE.FilenameID, in WriteSourceManagerBlock()
2076 AddPath(LineTable.getFilename(LE.FilenameID), Record); in WriteSourceManagerBlock()
2095 Record.push_back(FilenameMap[LE.FilenameID]); in WriteSourceManagerBlock()
DASTReader.cpp1101 int FilenameID = FileIDs[Record[Idx++]]; in ParseLineTable() local
1105 Entries.push_back(LineEntry::get(FileOffset, LineNo, FilenameID, in ParseLineTable()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp2089 if (FilenameMap.insert(std::make_pair(LE.FilenameID, in WriteSourceManagerBlock()
2091 AddPath(LineTable.getFilename(LE.FilenameID), Record); in WriteSourceManagerBlock()
2110 Record.push_back(FilenameMap[LE.FilenameID]); in WriteSourceManagerBlock()
DASTReader.cpp1290 int FilenameID = FileIDs[Record[Idx++]]; in ParseLineTable() local
1294 Entries.push_back(LineEntry::get(FileOffset, LineNo, FilenameID, in ParseLineTable()