diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-26 19:24:09 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-26 19:24:09 +0000 | 
| commit | f0c55418e2b09eaab37c820d3756cc1b4584d084 (patch) | |
| tree | 9263bf60f263bb5a7aaa4d2c1be43e5fc4d942e0 /include/clang/Basic/Module.h | |
| parent | 583e75cce441388bc562fa225d23499261a0091e (diff) | |
Notes
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;  | 
