Fix build breakage on Windows with GCC 4.3. References bug #2176.
authorMikhail Glushenkov <foldr@codedgers.com>
Thu, 27 Mar 2008 09:53:47 +0000 (09:53 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Thu, 27 Mar 2008 09:53:47 +0000 (09:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48874 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/LLVMCCConfigurationEmitter.cpp

index 9431fe1784182fe94eab68091cab874ce30b3d69..9c6f064460100788d62aaf97b19a2ce84443cb17 100644 (file)
@@ -212,7 +212,7 @@ struct ToolOptionDescription : public OptionDescription {
   OptionPropertyList Props;
 
   // StringMap can only store DefaultConstructible objects
-  ToolOptionDescription() : OptionDescription() {}
+  ToolOptionDescription() : OptionDescription(), Flags(0) {}
 
   ToolOptionDescription (OptionType::OptionType t, const std::string& n)
     : OptionDescription(t, n)