]> granicus.if.org Git - clang/commitdiff
remove FullSourceLoc::isFileID
authorChris Lattner <sabre@nondot.org>
Fri, 16 Jan 2009 22:53:56 +0000 (22:53 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 16 Jan 2009 22:53:56 +0000 (22:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62371 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/SourceLocation.h
lib/Basic/SourceLocation.cpp

index a77eadd27190678c16ff3882773ddcfe17e140d6..319857ec2fc4fa342435cfabd4ce2733c31d529a 100644 (file)
@@ -258,8 +258,6 @@ public:
 
   bool isInSystemHeader() const;
   
-  bool isFileID() const { return Loc.isFileID(); }
-  
   unsigned getCanonicalFileID() const;
   
   bool operator==(const FullSourceLoc& RHS) const {
index a34293177ba8e90f91eb2427ce07f7c779a41a91..41ada637bd7a88c0cd6b06e10bae6b5f0aed0821 100644 (file)
@@ -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(),