mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-28 14:46:39 +00:00
[FunctionImport] Move pass into anonymous namespace.
No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5276bfeab1
commit
377a3feac4
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user