summaryrefslogtreecommitdiff
path: root/include/clang/Serialization/ModuleManager.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-08-02 17:33:11 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-08-02 17:33:11 +0000
commitc7e70c433efc6953dc3888b9fbf9f3512d7da2b0 (patch)
tree27425930fc0c91650a7f3527fcac8e0f92907b90 /include/clang/Serialization/ModuleManager.h
parent486754660bb926339aefcf012a3f848592babb8b (diff)
Notes
Diffstat (limited to 'include/clang/Serialization/ModuleManager.h')
-rw-r--r--include/clang/Serialization/ModuleManager.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/clang/Serialization/ModuleManager.h b/include/clang/Serialization/ModuleManager.h
index e101e60b21a3..cfc9a2ef112c 100644
--- a/include/clang/Serialization/ModuleManager.h
+++ b/include/clang/Serialization/ModuleManager.h
@@ -82,7 +82,7 @@ class ModuleManager {
/// The visitation order.
SmallVector<ModuleFile *, 4> VisitOrder;
-
+
/// The list of module files that both we and the global module index
/// know about.
///
@@ -150,13 +150,13 @@ public:
/// Forward iterator end-point to traverse all loaded modules
ModuleIterator end() { return Chain.end(); }
-
+
/// Const forward iterator to traverse all loaded modules.
ModuleConstIterator begin() const { return Chain.begin(); }
/// Const forward iterator end-point to traverse all loaded modules
ModuleConstIterator end() const { return Chain.end(); }
-
+
/// Reverse iterator to traverse all loaded modules.
ModuleReverseIterator rbegin() { return Chain.rbegin(); }
@@ -172,14 +172,14 @@ public:
/// Returns the primary module associated with the manager, that is,
/// the first module loaded
ModuleFile &getPrimaryModule() { return *Chain[0]; }
-
+
/// Returns the primary module associated with the manager, that is,
/// the first module loaded.
ModuleFile &getPrimaryModule() const { return *Chain[0]; }
-
+
/// Returns the module associated with the given index
ModuleFile &operator[](unsigned Index) const { return *Chain[Index]; }
-
+
/// Returns the module associated with the given file name.
ModuleFile *lookupByFileName(StringRef FileName) const;
@@ -191,7 +191,7 @@ public:
/// Returns the in-memory (virtual file) buffer with the given name
std::unique_ptr<llvm::MemoryBuffer> lookupBuffer(StringRef Name);
-
+
/// Number of modules loaded
unsigned size() const { return Chain.size(); }