diff options
Diffstat (limited to 'include/clang/Basic/Module.h')
| -rw-r--r-- | include/clang/Basic/Module.h | 12 | 
1 files changed, 12 insertions, 0 deletions
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;  | 
