[PCH] Remove a couple of fields from serialization::reader::HeaderFileInfoTrait that are not used for anything.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176564 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Argyrios Kyrtzidis 2013-03-06 18:12:41 +00:00
Родитель 26facface1
Коммит 8bd50b169c
2 изменённых файлов: 3 добавлений и 8 удалений

Просмотреть файл

@ -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);

Просмотреть файл

@ -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);