summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-16 22:53:56 +0000
committerChris Lattner <sabre@nondot.org>2009-01-16 22:53:56 +0000
commit7067b4f49d3e822d9478965f01f1343a539a77a2 (patch)
tree8b6482f2f90837261baa3188b1d7bbb3d218c283
parent671689a4402e42ae81ad68572cbc1b669437df1f (diff)
downloadbcm5719-llvm-7067b4f49d3e822d9478965f01f1343a539a77a2.tar.gz
bcm5719-llvm-7067b4f49d3e822d9478965f01f1343a539a77a2.zip
remove FullSourceLoc::isFileID
llvm-svn: 62371
-rw-r--r--clang/include/clang/Basic/SourceLocation.h2
-rw-r--r--clang/lib/Basic/SourceLocation.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/clang/include/clang/Basic/SourceLocation.h b/clang/include/clang/Basic/SourceLocation.h
index a77eadd2719..319857ec2fc 100644
--- a/clang/include/clang/Basic/SourceLocation.h
+++ b/clang/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/clang/lib/Basic/SourceLocation.cpp b/clang/lib/Basic/SourceLocation.cpp
index a34293177ba..41ada637bd7 100644
--- a/clang/lib/Basic/SourceLocation.cpp
+++ b/clang/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(),
OpenPOWER on IntegriCloud