From: Kovarththanan Rajaratnam Date: Mon, 15 Mar 2010 17:31:29 +0000 (+0000) Subject: Remove useless forward decl. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d684c2499bd80e28451c1db0e2e040ef00c53bc;p=clang Remove useless forward decl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98553 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h index 15ece68510..015d82a63c 100644 --- a/include/clang/Basic/SourceManager.h +++ b/include/clang/Basic/SourceManager.h @@ -30,7 +30,6 @@ namespace clang { class SourceManager; class FileManager; class FileEntry; -class IdentifierTokenInfo; class LineTableInfo; /// SrcMgr - Public enums and private classes that are part of the @@ -337,7 +336,7 @@ class SourceManager { void operator=(const SourceManager&); public: SourceManager() - : ExternalSLocEntries(0), LineTable(0), NumLinearScans(0), + : ExternalSLocEntries(0), LineTable(0), NumLinearScans(0), NumBinaryProbes(0) { clearIDTables(); } @@ -678,7 +677,7 @@ public: void PrintStats() const; unsigned sloc_entry_size() const { return SLocEntryTable.size(); } - + // FIXME: Exposing this is a little gross; what we want is a good way // to iterate the entries that were not defined in a PCH file (or // any other external source). @@ -692,8 +691,8 @@ public: ExternalSLocEntries->ReadSLocEntry(ID); return SLocEntryTable[ID]; } - - const SrcMgr::SLocEntry &getSLocEntry(FileID FID) const { + + const SrcMgr::SLocEntry &getSLocEntry(FileID FID) const { return getSLocEntry(FID.ID); }