summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCExpandISEL.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2017-02-11 11:06:55 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2017-02-11 11:06:55 +0000
commitefcf06f5f21792b83bbbbf9bd562a9470d49ddd4 (patch)
tree33027dc411f7e0411a4374c177967c2c16def860 /llvm/lib/Target/PowerPC/PPCExpandISEL.cpp
parentb196055c0cb81232806de39c658ae6d1e7828305 (diff)
downloadbcm5719-llvm-efcf06f5f21792b83bbbbf9bd562a9470d49ddd4.tar.gz
bcm5719-llvm-efcf06f5f21792b83bbbbf9bd562a9470d49ddd4.zip
Move symbols from the global namespace into (anonymous) namespaces. NFC.
llvm-svn: 294837
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCExpandISEL.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCExpandISEL.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCExpandISEL.cpp b/llvm/lib/Target/PowerPC/PPCExpandISEL.cpp
index accb84a8094..ebd414baf1d 100644
--- a/llvm/lib/Target/PowerPC/PPCExpandISEL.cpp
+++ b/llvm/lib/Target/PowerPC/PPCExpandISEL.cpp
@@ -42,6 +42,7 @@ static cl::opt<bool>
cl::desc("Enable generating the ISEL instruction."),
cl::init(true), cl::Hidden);
+namespace {
class PPCExpandISEL : public MachineFunctionPass {
DebugLoc dl;
MachineFunction *MF;
@@ -143,6 +144,7 @@ public:
return true;
}
};
+} // end anonymous namespace
void PPCExpandISEL::initialize(MachineFunction &MFParam) {
MF = &MFParam;
OpenPOWER on IntegriCloud