From 0cf7bb937d5ed21118eeb45a93eb916723cc75a1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 16 Jan 2009 22:53:56 +0000 Subject: [PATCH] remove FullSourceLoc::isFileID git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62371 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/SourceLocation.h | 2 -- lib/Basic/SourceLocation.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/clang/Basic/SourceLocation.h b/include/clang/Basic/SourceLocation.h index a77eadd271..319857ec2f 100644 --- a/include/clang/Basic/SourceLocation.h +++ b/include/clang/Basic/SourceLocation.h @@ -258,8 +258,6 @@ public: bool isInSystemHeader() const; - bool isFileID() const { return Loc.isFileID(); } - unsigned getCanonicalFileID() const; bool operator==(const FullSourceLoc& RHS) const { diff --git a/lib/Basic/SourceLocation.cpp b/lib/Basic/SourceLocation.cpp index a34293177b..41ada637bd 100644 --- a/lib/Basic/SourceLocation.cpp +++ b/lib/Basic/SourceLocation.cpp @@ -119,7 +119,7 @@ void FullSourceLoc::dump() const { return; } - if (isFileID()) { + if (Loc.isFileID()) { // The instantiation and spelling pos is identical for file locs. fprintf(stderr, "File Loc from '%s': %d: %d\n", getSourceName(), getInstantiationLineNumber(), -- 2.40.0