summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-02-06 11:13:08 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-02-06 11:13:08 +0000
commitbf8da9d7062b143f63596743232df6d05e6e8e34 (patch)
treee6b9cc28d76ca732e582b7ad64324d78d1cbda3f /clang/lib/Lex/ModuleMap.cpp
parentae87d7b4b2e32a073b47f72ce82edb8adc52cd70 (diff)
downloadbcm5719-llvm-bf8da9d7062b143f63596743232df6d05e6e8e34.tar.gz
bcm5719-llvm-bf8da9d7062b143f63596743232df6d05e6e8e34.zip
Move instantiateTemplateAttribute into the sema namespace, make helpers static.
llvm-svn: 149864
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
-rw-r--r--clang/lib/Lex/ModuleMap.cpp3
1 files changed, 2 insertions, 1 deletions
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<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) {
OpenPOWER on IntegriCloud