From c18e6d937526dfc45a7b57d56ed1120f6a309fc2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 5 May 2012 22:11:04 +0000 Subject: revert my patches, which are causing problems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156245 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/SourceMgr.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'include/llvm/Support/SourceMgr.h') 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 - 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. -- cgit v1.2.3-18-g5258