aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/PTHLexer.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-02-23 23:27:54 +0000
committerTed Kremenek <kremenek@apple.com>2009-02-23 23:27:54 +0000
commitd578569d50adc6e9b1a2f91931add6b471b2378e (patch)
tree476836c90acabcee39b924d08859de505eebe718 /lib/Lex/PTHLexer.cpp
parentb479dadea93b93d3f0a335c3518b703f140b3f50 (diff)
Move PTHStatCache within the anonymous namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PTHLexer.cpp')
-rw-r--r--lib/Lex/PTHLexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/PTHLexer.cpp b/lib/Lex/PTHLexer.cpp
index d67a4456c6..a5423d08f8 100644
--- a/lib/Lex/PTHLexer.cpp
+++ b/lib/Lex/PTHLexer.cpp
@@ -822,7 +822,6 @@ public:
return data_type();
}
};
-}
class VISIBILITY_HIDDEN PTHStatCache : public StatSysCallCache {
typedef OnDiskChainedHashTable<PTHStatLookupTrait> CacheTy;
@@ -855,6 +854,7 @@ public:
return 0;
}
};
+} // end anonymous namespace
StatSysCallCache *PTHManager::createStatCache() {
return new PTHStatCache(*((PTHFileLookup*) FileLookup));