Lines Matching refs:Module
1 //===--- ModuleManager.cpp - Module Manager ---------------------*- C++ -*-===//
19 #include "clang/Serialization/Module.h"
48 /// \brief The list of module files that both we and the global module index
51 /// Either the global index or the module manager may have modules that the
53 /// (in which case the module manager could have modules it does not) and
58 /// \brief The global module index, if one is attached.
60 /// The global module index will actually be owned by the ASTReader; this is
77 /// \brief The stack used when marking the imports of a particular module
81 /// \brief The visit number of each module file, which indicates when
82 /// this module file was last visited.
85 /// \brief The next visit number to use to mark visited module files.
125 /// \brief Returns the primary module associated with the manager, that is,
126 /// the first module loaded
129 /// \brief Returns the primary module associated with the manager, that is,
130 /// the first module loaded.
133 /// \brief Returns the module associated with the given index
136 /// \brief Returns the module associated with the given name
139 /// \brief Returns the module associated with the given module file.
148 /// \brief The result of attempting to add a new module.
150 /// \brief The module file had already been loaded.
152 /// \brief The module file was just loaded in response to this call.
154 /// \brief The module file is missing.
156 /// \brief The module file is out-of-date.
160 /// \brief Attempts to create a new module and add it to the list of known
163 /// \param FileName The file name of the module to be loaded.
165 /// \param Type The kind of module being loaded.
167 /// \param ImportLoc The location at which the module is imported.
169 /// \param ImportedBy The module that is importing this module, or NULL if
170 /// this module is imported directly by the user.
172 /// \param Generation The generation in which this module was loaded.
174 /// \param ExpectedSize The expected size of the module file, used for
177 /// \param ExpectedModTime The expected modification time of the module
180 /// \param Module A pointer to the module file if the module was successfully
184 /// while trying to load the module.
186 /// \return A pointer to the module that corresponds to this file name,
187 /// and a value indicating whether the module was loaded.
192 ModuleFile *&Module,
202 /// \brief Set the global module index.
205 /// \brief Notification from the AST reader that the given module file
213 /// proceeding to the leaf modules, visiting each module only once
220 /// module and the given user data pointer. The return value must be
222 /// modules that the current module depends on. When true, the
223 /// visitation skips any modules that the current module depends on.
228 /// \param ModuleFilesHit If non-NULL, contains the set of module files
229 /// that we know we need to visit because the global module index told us to.
230 /// Any module that is known to both the global module index and the module
237 /// This routine visits each of the modules known to the module
239 /// loaded module. The traversal invokes the callback both before
244 /// module and given a \c Preorder flag that indicates whether we're
245 /// visiting the module before or after visiting its children. The
255 /// \brief Attempt to resolve the given module file name to a file entry.
257 /// \param FileName The name of the module file.
259 /// \param ExpectedSize The size that the module file is expected to have.
262 /// \param ExpectedModTime The modification time that the module file is
277 /// \brief View the graphviz representation of the module graph.