]> granicus.if.org Git - clang/commitdiff
Initialize clang::Module::IsMissingRequirement. Fix msan issue and hopefully some...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 21 Apr 2014 07:28:16 +0000 (07:28 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 21 Apr 2014 07:28:16 +0000 (07:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206736 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Module.cpp

index 64013bd6bdd87ee0ccd14d0118c4979ab895738c..067528abac03979d01b59c60fa2506e28d25d853 100644 (file)
@@ -26,12 +26,12 @@ using namespace clang;
 
 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent,
                const FileEntry *File, bool IsFramework, bool IsExplicit)
-  : Name(Name), DefinitionLoc(DefinitionLoc), Parent(Parent), ModuleMap(File),
-    Umbrella(), ASTFile(0), IsAvailable(true), IsFromModuleFile(false),
-    IsFramework(IsFramework), IsExplicit(IsExplicit), IsSystem(false),
-    IsExternC(false), InferSubmodules(false), InferExplicitSubmodules(false),
-    InferExportWildcard(false), ConfigMacrosExhaustive(false),
-    NameVisibility(Hidden) {
+    : Name(Name), DefinitionLoc(DefinitionLoc), Parent(Parent), ModuleMap(File),
+      Umbrella(), ASTFile(0), IsMissingRequirement(false), IsAvailable(true),
+      IsFromModuleFile(false), IsFramework(IsFramework), IsExplicit(IsExplicit),
+      IsSystem(false), IsExternC(false), InferSubmodules(false),
+      InferExplicitSubmodules(false), InferExportWildcard(false),
+      ConfigMacrosExhaustive(false), NameVisibility(Hidden) {
   if (Parent) {
     if (!Parent->isAvailable())
       IsAvailable = false;