From 5bbc385ad2d8e487edfbc2756eaf4fb0b920cfe4 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 6 Feb 2012 11:13:08 +0000 Subject: Move instantiateTemplateAttribute into the sema namespace, make helpers static. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149864 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Lex/ModuleMap.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Lex/ModuleMap.cpp') diff --git a/lib/Lex/ModuleMap.cpp b/lib/Lex/ModuleMap.cpp index 84ac08081e..1f56a2f941 100644 --- a/lib/Lex/ModuleMap.cpp +++ b/lib/Lex/ModuleMap.cpp @@ -1015,7 +1015,8 @@ void ModuleMapParser::parseRequiresDecl() { /// \brief Append to \p Paths the set of paths needed to get to the /// subframework in which the given module lives. -void appendSubframeworkPaths(Module *Mod, llvm::SmallVectorImpl &Path) { +static void appendSubframeworkPaths(Module *Mod, + llvm::SmallVectorImpl &Path) { // Collect the framework names from the given module to the top-level module. llvm::SmallVector Paths; for (; Mod; Mod = Mod->Parent) { -- cgit v1.2.3-18-g5258