[cfe-commits] r98553 - /cfe/trunk/include/clang/Basic/SourceManager.h
Kovarththanan Rajaratnam
kovarththanan.rajaratnam at gmail.com
Mon Mar 15 10:31:29 PDT 2010
Author: krj
Date: Mon Mar 15 12:31:29 2010
New Revision: 98553
URL: http://llvm.org/viewvc/llvm-project?rev=98553&view=rev
Log:
Remove useless forward decl.
Modified:
cfe/trunk/include/clang/Basic/SourceManager.h
Modified: cfe/trunk/include/clang/Basic/SourceManager.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/SourceManager.h?rev=98553&r1=98552&r2=98553&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/SourceManager.h (original)
+++ cfe/trunk/include/clang/Basic/SourceManager.h Mon Mar 15 12:31:29 2010
@@ -30,7 +30,6 @@
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 @@
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 @@
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 @@
ExternalSLocEntries->ReadSLocEntry(ID);
return SLocEntryTable[ID];
}
-
- const SrcMgr::SLocEntry &getSLocEntry(FileID FID) const {
+
+ const SrcMgr::SLocEntry &getSLocEntry(FileID FID) const {
return getSLocEntry(FID.ID);
}
More information about the cfe-commits
mailing list