diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-16 22:59:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-16 22:59:51 +0000 |
commit | fcc0a5a3f7d221a03be43d92dbaf4a3a5be8d7c2 (patch) | |
tree | 0774adb87e0a375d45387568bf92dbb060bff88e /clang/lib/Basic/SourceLocation.cpp | |
parent | 41e9f6a854c1bfa259f890478abd375229232b5c (diff) | |
download | bcm5719-llvm-fcc0a5a3f7d221a03be43d92dbaf4a3a5be8d7c2.tar.gz bcm5719-llvm-fcc0a5a3f7d221a03be43d92dbaf4a3a5be8d7c2.zip |
elimiante FullSourceLoc::getCanonicalFileID
llvm-svn: 62374
Diffstat (limited to 'clang/lib/Basic/SourceLocation.cpp')
-rw-r--r-- | clang/lib/Basic/SourceLocation.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/clang/lib/Basic/SourceLocation.cpp b/clang/lib/Basic/SourceLocation.cpp index 41ada637bd7..c68cb8ba925 100644 --- a/clang/lib/Basic/SourceLocation.cpp +++ b/clang/lib/Basic/SourceLocation.cpp @@ -98,9 +98,8 @@ bool FullSourceLoc::isInSystemHeader() const { return SrcMgr->isInSystemHeader(Loc); } - -const char * FullSourceLoc::getCharacterData() const { - assert (isValid()); +const char *FullSourceLoc::getCharacterData() const { + assert(isValid()); return SrcMgr->getCharacterData(Loc); } @@ -109,10 +108,6 @@ const llvm::MemoryBuffer* FullSourceLoc::getBuffer() const { return SrcMgr->getBuffer(Loc.getFileID()); } -unsigned FullSourceLoc::getCanonicalFileID() const { - return SrcMgr->getCanonicalFileID(Loc); -} - void FullSourceLoc::dump() const { if (!isValid()) { fprintf(stderr, "Invalid Loc\n"); |