[NFC] DiagnosticVerifier: Move 'getColumnNumber' into SourceManager

This commit is contained in:
Anthony Latsis
2022-01-30 20:11:36 +03:00
parent b6a4923470
commit 8e4ea9b01a
4 changed files with 30 additions and 25 deletions

View File

@@ -247,6 +247,9 @@ public:
return LLVMSourceMgr.getLineAndColumn(Loc.Value, BufferID);
}
/// Returns the column for the given source location in the given buffer.
unsigned getColumnInBuffer(SourceLoc Loc, unsigned BufferID) const;
StringRef getEntireTextForBuffer(unsigned BufferID) const;
StringRef extractText(CharSourceRange Range,