[cfe-commits] r65348 - /cfe/trunk/lib/Lex/PTHLexer.cpp
Ted Kremenek
kremenek at apple.com
Mon Feb 23 15:27:54 PST 2009
Author: kremenek
Date: Mon Feb 23 17:27:54 2009
New Revision: 65348
URL: http://llvm.org/viewvc/llvm-project?rev=65348&view=rev
Log:
Move PTHStatCache within the anonymous namespace.
Modified:
cfe/trunk/lib/Lex/PTHLexer.cpp
Modified: cfe/trunk/lib/Lex/PTHLexer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PTHLexer.cpp?rev=65348&r1=65347&r2=65348&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PTHLexer.cpp (original)
+++ cfe/trunk/lib/Lex/PTHLexer.cpp Mon Feb 23 17:27:54 2009
@@ -822,7 +822,6 @@
return data_type();
}
};
-}
class VISIBILITY_HIDDEN PTHStatCache : public StatSysCallCache {
typedef OnDiskChainedHashTable<PTHStatLookupTrait> CacheTy;
@@ -855,6 +854,7 @@
return 0;
}
};
+} // end anonymous namespace
StatSysCallCache *PTHManager::createStatCache() {
return new PTHStatCache(*((PTHFileLookup*) FileLookup));
More information about the cfe-commits
mailing list