[FunctionImport] Move pass into anonymous namespace.

No functional change.

llvm-svn: 256374
This commit is contained in:
Benjamin Kramer 2015-12-24 10:03:35 +00:00
parent bcbfedc927
commit fe2b541546
1 changed files with 2 additions and 0 deletions

View File

@ -371,6 +371,7 @@ getFunctionIndexForFile(StringRef Path, std::string &Error,
return (*ObjOrErr)->takeIndex();
}
namespace {
/// Pass that performs cross-module function import provided a summary file.
class FunctionImportPass : public ModulePass {
/// Optional function summary index to use for importing, otherwise
@ -417,6 +418,7 @@ public:
return false;
}
};
} // anonymous namespace
char FunctionImportPass::ID = 0;
INITIALIZE_PASS_BEGIN(FunctionImportPass, "function-import",