r176564 - [PCH] Remove a couple of fields from serialization::reader::HeaderFileInfoTrait that are not used for anything.
Argyrios Kyrtzidis
akyrtzi at gmail.com
Wed Mar 6 10:12:42 PST 2013
Author: akirtzidis
Date: Wed Mar 6 12:12:41 2013
New Revision: 176564
URL: http://llvm.org/viewvc/llvm-project?rev=176564&view=rev
Log:
[PCH] Remove a couple of fields from serialization::reader::HeaderFileInfoTrait that are not used for anything.
Modified:
cfe/trunk/lib/Serialization/ASTReader.cpp
cfe/trunk/lib/Serialization/ASTReaderInternals.h
Modified: cfe/trunk/lib/Serialization/ASTReader.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReader.cpp?rev=176564&r1=176563&r2=176564&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReader.cpp Wed Mar 6 12:12:41 2013
@@ -4107,8 +4107,7 @@ namespace {
HeaderFileInfoTrait Trait(This->Reader, M,
&This->Reader.getPreprocessor().getHeaderSearchInfo(),
- M.HeaderFileFrameworkStrings,
- This->FE->getName());
+ M.HeaderFileFrameworkStrings);
HeaderFileInfoLookupTable *Table
= static_cast<HeaderFileInfoLookupTable *>(M.HeaderFileInfoTable);
Modified: cfe/trunk/lib/Serialization/ASTReaderInternals.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReaderInternals.h?rev=176564&r1=176563&r2=176564&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReaderInternals.h (original)
+++ cfe/trunk/lib/Serialization/ASTReaderInternals.h Wed Mar 6 12:12:41 2013
@@ -196,8 +196,6 @@ class HeaderFileInfoTrait {
ModuleFile &M;
HeaderSearch *HS;
const char *FrameworkStrings;
- const char *SearchPath;
- struct stat SearchPathStatBuf;
public:
typedef const char *external_key_type;
@@ -206,10 +204,8 @@ public:
typedef HeaderFileInfo data_type;
HeaderFileInfoTrait(ASTReader &Reader, ModuleFile &M, HeaderSearch *HS,
- const char *FrameworkStrings,
- const char *SearchPath = 0)
- : Reader(Reader), M(M), HS(HS), FrameworkStrings(FrameworkStrings),
- SearchPath(SearchPath) { }
+ const char *FrameworkStrings)
+ : Reader(Reader), M(M), HS(HS), FrameworkStrings(FrameworkStrings) { }
static unsigned ComputeHash(const char *path);
static internal_key_type GetInternalKey(const char *path);
More information about the cfe-commits
mailing list