[cfe-commits] r62371 - in /cfe/trunk: include/clang/Basic/SourceLocation.h lib/Basic/SourceLocation.cpp
Chris Lattner
sabre at nondot.org
Fri Jan 16 14:53:56 PST 2009
Author: lattner
Date: Fri Jan 16 16:53:56 2009
New Revision: 62371
URL: http://llvm.org/viewvc/llvm-project?rev=62371&view=rev
Log:
remove FullSourceLoc::isFileID
Modified:
cfe/trunk/include/clang/Basic/SourceLocation.h
cfe/trunk/lib/Basic/SourceLocation.cpp
Modified: cfe/trunk/include/clang/Basic/SourceLocation.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/SourceLocation.h?rev=62371&r1=62370&r2=62371&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/SourceLocation.h (original)
+++ cfe/trunk/include/clang/Basic/SourceLocation.h Fri Jan 16 16:53:56 2009
@@ -258,8 +258,6 @@
bool isInSystemHeader() const;
- bool isFileID() const { return Loc.isFileID(); }
-
unsigned getCanonicalFileID() const;
bool operator==(const FullSourceLoc& RHS) const {
Modified: cfe/trunk/lib/Basic/SourceLocation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/SourceLocation.cpp?rev=62371&r1=62370&r2=62371&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/SourceLocation.cpp (original)
+++ cfe/trunk/lib/Basic/SourceLocation.cpp Fri Jan 16 16:53:56 2009
@@ -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(),
More information about the cfe-commits
mailing list