From d263f14a0fed092af9dab53c1bdf25e6ba85c299 Mon Sep 17 00:00:00 2001 From: Robert Lytton Date: Tue, 6 May 2014 09:38:54 +0000 Subject: [PATCH] XCore target: fix initialization bug found by MSan Bot. llvm-svn: 208072 --- clang/lib/CodeGen/TargetInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index b283ccbaba5b..32525e470016 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/lib/CodeGen/TargetInfo.cpp @@ -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,