From 551c698530debaae81139c7c76a29fb762793362 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 3 Jun 2017 15:20:48 +0000 Subject: Vendor import of clang trunk r304659: https://llvm.org/svn/llvm-project/cfe/trunk@304659 --- include/clang/Basic/Module.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include/clang/Basic/Module.h') diff --git a/include/clang/Basic/Module.h b/include/clang/Basic/Module.h index 326d84eeb6c2..1e52b29367b2 100644 --- a/include/clang/Basic/Module.h +++ b/include/clang/Basic/Module.h @@ -154,11 +154,19 @@ public: /// \brief Stored information about a header directive that was found in the /// module map file but has not been resolved to a file. struct UnresolvedHeaderDirective { + HeaderKind Kind = HK_Normal; SourceLocation FileNameLoc; std::string FileName; - bool IsUmbrella; + bool IsUmbrella = false; + bool HasBuiltinHeader = false; + Optional Size; + Optional ModTime; }; + /// Headers that are mentioned in the module map file but that we have not + /// yet attempted to resolve to a file on the file system. + SmallVector UnresolvedHeaders; + /// \brief Headers that are mentioned in the module map file but could not be /// found on the file system. SmallVector MissingHeaders; -- cgit v1.2.3