Home | History | Annotate | Download | only in Lex

Lines Matching defs:beginInfo

933   std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(Range.getBegin());
934 if (beginInfo.first.isInvalid()) {
940 if (!SM.isInFileID(Range.getEnd(), beginInfo.first, &EndOffs) ||
941 beginInfo.second > EndOffs) {
948 StringRef file = SM.getBufferData(beginInfo.first, &invalidTemp);
955 return file.substr(beginInfo.second, EndOffs - beginInfo.second);