aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/Basic/SourceLocation.h2
-rw-r--r--lib/Basic/SourceLocation.cpp2
2 files changed, 1 insertions, 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(),