forked from OSchip/llvm-project
XCore target: fix initialization bug found by MSan Bot.
llvm-svn: 208072
This commit is contained in:
parent
13b9b7e0e8
commit
d263f14a0f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue