mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] DiagnosticVerifier: Move 'getColumnNumber' into SourceManager
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user