diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-06 11:13:08 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-06 11:13:08 +0000 |
commit | 5bbc385ad2d8e487edfbc2756eaf4fb0b920cfe4 (patch) | |
tree | bfca2c6fa55e99c087addcc911ded14d84efb7b7 /lib/Lex/ModuleMap.cpp | |
parent | 4cf96bb9dfebf58b127849eecd141337a2da195d (diff) |
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
Diffstat (limited to 'lib/Lex/ModuleMap.cpp')
-rw-r--r-- | lib/Lex/ModuleMap.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<char> &Path) { +static void appendSubframeworkPaths(Module *Mod, + llvm::SmallVectorImpl<char> &Path) { // Collect the framework names from the given module to the top-level module. llvm::SmallVector<StringRef, 2> Paths; for (; Mod; Mod = Mod->Parent) { |