aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/SourceLocation.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-16 23:06:35 +0000
committerChris Lattner <sabre@nondot.org>2009-01-16 23:06:35 +0000
commit59ddeabc4c0aa2fdeef5a9183e8af69db07b5e74 (patch)
treeca41270c8cfe57821a54eafe6ef409c57229a961 /include/clang/Basic/SourceLocation.h
parenta50bd54164393ca3cd08016e7099bdeb531b5014 (diff)
eliminate FullSourceLoc::getLocation() now that FullSourceLoc
*is* the location. This eliminates some weird X.getLocation().getLocation()'s. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62376 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceLocation.h')
-rw-r--r--include/clang/Basic/SourceLocation.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/clang/Basic/SourceLocation.h b/include/clang/Basic/SourceLocation.h
index b3cb787544..da7ea25a54 100644
--- a/include/clang/Basic/SourceLocation.h
+++ b/include/clang/Basic/SourceLocation.h
@@ -218,8 +218,6 @@ public:
explicit FullSourceLoc(SourceLocation Loc, SourceManager &SM)
: SourceLocation(Loc), SrcMgr(&SM) {}
- SourceLocation getLocation() const { return *this; }
-
SourceManager& getManager() {
assert (SrcMgr && "SourceManager is NULL.");
return *SrcMgr;