aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Lex/PTHManager.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-12-10 19:40:23 +0000
committerTed Kremenek <kremenek@apple.com>2008-12-10 19:40:23 +0000
commitcf58e6249c6b018508e34bcb76202caa42d2451a (patch)
treedcf9f8daf95a9299c985a67a8ae2cfd9e29b99b7 /include/clang/Lex/PTHManager.h
parentc0febd58f5cbf4a93fd12f461863564dba0af76d (diff)
Declare PerIDCache as IdentifierInfo** instead of void*. This is just cleaner. No performance change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/PTHManager.h')
-rw-r--r--include/clang/Lex/PTHManager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/Lex/PTHManager.h b/include/clang/Lex/PTHManager.h
index c9b7b52ec1..e0c4776d4b 100644
--- a/include/clang/Lex/PTHManager.h
+++ b/include/clang/Lex/PTHManager.h
@@ -38,7 +38,7 @@ class PTHManager {
/// IdMap - A lazily generated cache mapping from persistent identifiers to
/// IdentifierInfo*.
- void* PerIDCache;
+ IdentifierInfo** PerIDCache;
/// FileLookup - Abstract data structure used for mapping between files
/// and token data in the PTH file.
@@ -59,7 +59,8 @@ class PTHManager {
/// This constructor is intended to only be called by the static 'Create'
/// method.
PTHManager(const llvm::MemoryBuffer* buf, void* fileLookup,
- const char* idDataTable, void* perIDCache, Preprocessor& pp);
+ const char* idDataTable, IdentifierInfo** perIDCache,
+ Preprocessor& pp);
// Do not implement.
PTHManager();