reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Basic/SourceManager.cpp
 1162   if (FilePos > MemBuf->getBufferSize()) {
 1177     if (FilePos >= LineStart && FilePos < LineEnd) {
 1177     if (FilePos >= LineStart && FilePos < LineEnd) {
 1182       if (FilePos + 1 == LineEnd && FilePos > LineStart) {
 1182       if (FilePos + 1 == LineEnd && FilePos > LineStart) {
 1183         if (Buf[FilePos - 1] == '\r' || Buf[FilePos - 1] == '\n')
 1183         if (Buf[FilePos - 1] == '\r' || Buf[FilePos - 1] == '\n')
 1184           --FilePos;
 1186       return FilePos - LineStart + 1;
 1190   unsigned LineStart = FilePos;
 1193   return FilePos-LineStart+1;