From: Chris Lattner Date: Fri, 16 Jan 2009 22:53:56 +0000 (+0000) Subject: remove FullSourceLoc::isFileID X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0cf7bb937d5ed21118eeb45a93eb916723cc75a1;p=clang remove FullSourceLoc::isFileID git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62371 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(),