From bf8da9d7062b143f63596743232df6d05e6e8e34 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. llvm-svn: 149864 --- clang/lib/Lex/ModuleMap.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/lib/Lex/ModuleMap.cpp') diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp index 84ac08081ea..1f56a2f941d 100644 --- a/clang/lib/Lex/ModuleMap.cpp +++ b/clang/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