diff --git a/clang/lib/Lex/PTHLexer.cpp b/clang/lib/Lex/PTHLexer.cpp index d67a4456c6bf..a5423d08f859 100644 --- a/clang/lib/Lex/PTHLexer.cpp +++ b/clang/lib/Lex/PTHLexer.cpp @@ -822,7 +822,6 @@ public: return data_type(); } }; -} class VISIBILITY_HIDDEN PTHStatCache : public StatSysCallCache { typedef OnDiskChainedHashTable CacheTy; @@ -855,6 +854,7 @@ public: return 0; } }; +} // end anonymous namespace StatSysCallCache *PTHManager::createStatCache() { return new PTHStatCache(*((PTHFileLookup*) FileLookup));