Manna updated this revision to Diff 523735.

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150960/new/

https://reviews.llvm.org/D150960

Files:
  llvm/include/llvm/Demangle/MicrosoftDemangle.h


Index: llvm/include/llvm/Demangle/MicrosoftDemangle.h
===================================================================
--- llvm/include/llvm/Demangle/MicrosoftDemangle.h
+++ llvm/include/llvm/Demangle/MicrosoftDemangle.h
@@ -114,7 +114,7 @@
 struct BackrefContext {
   static constexpr size_t Max = 10;
 
-  TypeNode *FunctionParams[Max];
+  TypeNode *FunctionParams[Max] = { 0 };
   size_t FunctionParamCount = 0;
 
   // The first 10 BackReferences in a mangled name can be back-referenced by


Index: llvm/include/llvm/Demangle/MicrosoftDemangle.h
===================================================================
--- llvm/include/llvm/Demangle/MicrosoftDemangle.h
+++ llvm/include/llvm/Demangle/MicrosoftDemangle.h
@@ -114,7 +114,7 @@
 struct BackrefContext {
   static constexpr size_t Max = 10;
 
-  TypeNode *FunctionParams[Max];
+  TypeNode *FunctionParams[Max] = { 0 };
   size_t FunctionParamCount = 0;
 
   // The first 10 BackReferences in a mangled name can be back-referenced by
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to