mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +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:
parent
bf0e32368e
commit
b3a6194eba
@ -123,7 +123,14 @@ public:
|
||||
|
||||
/// FindLineNumber - Find the line number for the specified location in the
|
||||
/// 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
|
||||
/// specified string.
|
||||
|
Loading…
x
Reference in New Issue
Block a user