mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
add missing header <shame>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156244 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -123,7 +123,14 @@ public:
|
|||||||
|
|
||||||
/// FindLineNumber - Find the line number for the specified location in the
|
/// FindLineNumber - Find the line number for the specified location in the
|
||||||
/// specified file. This is not a fast method.
|
/// specified file. This is not a fast method.
|
||||||
unsigned FindLineNumber(SMLoc Loc, int BufferID = -1) const;
|
unsigned FindLineNumber(SMLoc Loc, int BufferID = -1) const {
|
||||||
|
return getLineAndColumn(Loc, BufferID).first;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// getLineAndColumn - Find the line and column number for the specified
|
||||||
|
/// location in the specified file. This is not a fast method.
|
||||||
|
std::pair<unsigned, unsigned>
|
||||||
|
getLineAndColumn(SMLoc Loc, int BufferID = -1) const;
|
||||||
|
|
||||||
/// PrintMessage - Emit a message about the specified location with the
|
/// PrintMessage - Emit a message about the specified location with the
|
||||||
/// specified string.
|
/// specified string.
|
||||||
|
Reference in New Issue
Block a user