From c5b2e58840748145d1706c1d1481369d1863fabf Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sun, 29 Jan 2012 18:15:03 +0000 Subject: Implement code completion support for module import declarations, e.g., @import or @import std. Addresses . git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149199 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Lex/ModuleMap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/clang/Lex/ModuleMap.h') diff --git a/include/clang/Lex/ModuleMap.h b/include/clang/Lex/ModuleMap.h index 64358c83e5..3e794f5c00 100644 --- a/include/clang/Lex/ModuleMap.h +++ b/include/clang/Lex/ModuleMap.h @@ -211,6 +211,10 @@ public: /// \brief Dump the contents of the module map, for debugging purposes. void dump(); + + typedef llvm::StringMap::const_iterator module_iterator; + module_iterator module_begin() const { return Modules.begin(); } + module_iterator module_end() const { return Modules.end(); } }; } -- cgit v1.2.3-70-g09d2