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 a77eadd..319857e 100644
--- a/include/clang/Basic/SourceLocation.h
+++ b/include/clang/Basic/SourceLocation.h
@@ -258,8 +258,6 @@
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 a342931..41ada63 100644
--- a/lib/Basic/SourceLocation.cpp
+++ b/lib/Basic/SourceLocation.cpp
@@ -119,7 +119,7 @@
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(),