remove FullSourceLoc::isFileID

llvm-svn: 62371
This commit is contained in:
Chris Lattner 2009-01-16 22:53:56 +00:00
parent 671689a440
commit 7067b4f49d
2 changed files with 1 additions and 3 deletions

View File

@ -258,8 +258,6 @@ public:
bool isInSystemHeader() const;
bool isFileID() const { return Loc.isFileID(); }
unsigned getCanonicalFileID() const;
bool operator==(const FullSourceLoc& RHS) const {

View 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(),