Lines Matching refs:first

268   // first.
303 const SLocEntry &Entry = getSLocEntry(LocInfo.first, &Invalid);
314 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID);
333 const SLocEntry &Entry = getSLocEntry(LocInfo.first, &Invalid);
359 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID,
713 // After the first and second level caches, I see two common sorts of
893 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc();
904 Loc = getImmediateExpansionRange(Loc).first;
947 /// spelling location referenced by the ID. This is the first level down
953 Loc = getSLocEntry(LocInfo.first).getExpansion().getSpellingLoc();
978 while (!Res.first.isFileID())
979 Res.first = getImmediateExpansionRange(Res.first).first;
1016 const SLocEntry &Entry = getSLocEntry(LocInfo.first, &CharDataInvalid);
1083 return getColumnNumber(LocInfo.first, LocInfo.second, Invalid);
1090 return getColumnNumber(LocInfo.first, LocInfo.second, Invalid);
1216 // If this is the first use of line information for this buffer, compute the
1316 return getLineNumber(LocInfo.first, LocInfo.second);
1322 return getLineNumber(LocInfo.first, LocInfo.second);
1343 const SLocEntry &SEntry = getSLocEntry(LocInfo.first, &Invalid);
1357 LineTable->FindNearestLineEntry(LocInfo.first, LocInfo.second);
1359 // If this is before the first line marker, use the file characteristic.
1392 const SLocEntry &Entry = getSLocEntry(LocInfo.first, &Invalid);
1399 // To get the source name, first consult the FileEntry (if one exists)
1408 unsigned LineNo = getLineNumber(LocInfo.first, LocInfo.second, &Invalid);
1411 unsigned ColNo = getColumnNumber(LocInfo.first, LocInfo.second, &Invalid);
1423 LineTable->FindNearestLineEntry(LocInfo.first, LocInfo.second)) {
1432 unsigned MarkerLineNo = getLineNumber(LocInfo.first, Entry->FileOffset);
1439 IncludeLoc = getLocForStartOfFile(LocInfo.first);
1503 /// first inclusion.
1507 // Find the first file ID that corresponds to the given file.
1641 // If this is the first use of line information for this buffer, compute the
1818 /// be at the first expansion of the argument.
1843 unsigned MacroArgBeginOffs = I->first;
1859 DecompTy &DecompLoc = InsertOp.first->second;
1882 std::pair<FileID, unsigned> UpperLoc = SM.getDecomposedIncludedLoc(Loc.first);
1883 if (UpperLoc.first.isInvalid())
1929 if (LOffs.first == ROffs.first)
1935 getInBeforeInTUCache(LOffs.first, ROffs.first);
1939 if (IsBeforeInTUCache.isCacheValid(LOffs.first, ROffs.first))
1943 IsBeforeInTUCache.setQueryFIDs(LOffs.first, ROffs.first,
1944 /*isLFIDBeforeRFID=*/LOffs.first.ID < ROffs.first.ID);
1950 // a custom set hash info that only depends on the first part of a pair.
1957 } while (LOffs.first != ROffs.first && !MoveUpIncludeHierarchy(LOffs, *this));
1959 while((I = LChain.find(ROffs.first)) == LChain.end()) {
1968 if (LOffs.first == ROffs.first) {
1969 IsBeforeInTUCache.setCommonLoc(LOffs.first, LOffs.second, ROffs.second);
1978 getBuffer(LOffs.first)->getBufferIdentifier()) == 0;
1980 getBuffer(ROffs.first)->getBufferIdentifier()) == 0;
1987 // lower IDs come first.
1988 return LOffs.first < ROffs.first;