XCore target: fix initialization bug found by MSan Bot.

llvm-svn: 208072
This commit is contained in:
Robert Lytton 2014-05-06 09:38:54 +00:00
parent 13b9b7e0e8
commit d263f14a0f
1 changed files with 1 additions and 0 deletions

View File

@ -6181,6 +6181,7 @@ class TypeStringCache {
unsigned IncompleteCount; // Number of Incomplete entries in the Map.
unsigned IncompleteUsedCount; // Number of IncompleteUsed entries in the Map.
public:
TypeStringCache() : IncompleteCount(0), IncompleteUsedCount(0) {};
void addIncomplete(const IdentifierInfo *ID, std::string StubEnc);
bool removeIncomplete(const IdentifierInfo *ID);
void addIfComplete(const IdentifierInfo *ID, StringRef Str,