diff options
author | Chris Lattner <sabre@nondot.org> | 2012-05-05 22:11:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-05-05 22:11:04 +0000 |
commit | c18e6d937526dfc45a7b57d56ed1120f6a309fc2 (patch) | |
tree | 7674cdeaf737c497a31ce3e4e46281b63f75f350 /include/llvm/Support/SourceMgr.h | |
parent | b3a6194ebabbab1ef6db5603e958228cf723ab1b (diff) |
revert my patches, which are causing problems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156245 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/SourceMgr.h')
-rw-r--r-- | include/llvm/Support/SourceMgr.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/llvm/Support/SourceMgr.h b/include/llvm/Support/SourceMgr.h index f108f732b8..76967dbf78 100644 --- a/include/llvm/Support/SourceMgr.h +++ b/include/llvm/Support/SourceMgr.h @@ -123,14 +123,7 @@ 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 { - 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; + unsigned FindLineNumber(SMLoc Loc, int BufferID = -1) const; /// PrintMessage - Emit a message about the specified location with the /// specified string. |