summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/SourceLocation.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-19 07:36:42 +0000
committerChris Lattner <sabre@nondot.org>2009-01-19 07:36:42 +0000
commitf809bbdbb827e4d02a6ddc8f0dfa694d0ca17263 (patch)
tree77e1b16130f1743644ee0b6cd7909c7b242db471 /clang/lib/Basic/SourceLocation.cpp
parent7e343b2161cc2b20ff088fa4db8e5251a507d16c (diff)
downloadbcm5719-llvm-f809bbdbb827e4d02a6ddc8f0dfa694d0ca17263.tar.gz
bcm5719-llvm-f809bbdbb827e4d02a6ddc8f0dfa694d0ca17263.zip
remove the SourceManager:: and FullSourceLoc::getFileEntryForLoc methods.
llvm-svn: 62496
Diffstat (limited to 'clang/lib/Basic/SourceLocation.cpp')
-rw-r--r--clang/lib/Basic/SourceLocation.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Basic/SourceLocation.cpp b/clang/lib/Basic/SourceLocation.cpp
index 1f5804ff9ca..66ad720bb3b 100644
--- a/clang/lib/Basic/SourceLocation.cpp
+++ b/clang/lib/Basic/SourceLocation.cpp
@@ -94,11 +94,6 @@ const char* FullSourceLoc::getSourceName() const {
return SrcMgr->getSourceName(*this);
}
-const FileEntry* FullSourceLoc::getFileEntryForLoc() const {
- assert(isValid());
- return SrcMgr->getFileEntryForLoc(*this);
-}
-
bool FullSourceLoc::isInSystemHeader() const {
assert(isValid());
return SrcMgr->isInSystemHeader(*this);
OpenPOWER on IntegriCloud