From f0c55418e2b09eaab37c820d3756cc1b4584d084 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 26 Apr 2017 19:24:09 +0000 Subject: Vendor import of clang trunk r301441: https://llvm.org/svn/llvm-project/cfe/trunk@301441 --- include/clang/Basic/Module.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/clang/Basic/Module.h') diff --git a/include/clang/Basic/Module.h b/include/clang/Basic/Module.h index 8fcb0e8b056a..28aa7db52992 100644 --- a/include/clang/Basic/Module.h +++ b/include/clang/Basic/Module.h @@ -62,6 +62,18 @@ public: /// \brief The location of the module definition. SourceLocation DefinitionLoc; + enum ModuleKind { + /// \brief This is a module that was defined by a module map and built out + /// of header files. + ModuleMapModule, + + /// \brief This is a C++ Modules TS module interface unit. + ModuleInterfaceUnit + }; + + /// \brief The kind of this module. + ModuleKind Kind = ModuleMapModule; + /// \brief The parent of this module. This will be NULL for the top-level /// module. Module *Parent; -- cgit v1.2.3