[llvm] r194582 - Move Delinearization pass into an anonymous namespace.
Benjamin Kramer
benny.kra at googlemail.com
Wed Nov 13 07:35:17 PST 2013
Author: d0k
Date: Wed Nov 13 09:35:17 2013
New Revision: 194582
URL: http://llvm.org/viewvc/llvm-project?rev=194582&view=rev
Log:
Move Delinearization pass into an anonymous namespace.
Modified:
llvm/trunk/lib/Analysis/Delinearization.cpp
Modified: llvm/trunk/lib/Analysis/Delinearization.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/Delinearization.cpp?rev=194582&r1=194581&r2=194582&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/Delinearization.cpp (original)
+++ llvm/trunk/lib/Analysis/Delinearization.cpp Wed Nov 13 09:35:17 2013
@@ -34,6 +34,8 @@
using namespace llvm;
+namespace {
+
class Delinearization : public FunctionPass {
Delinearization(const Delinearization &); // do not implement
protected:
@@ -52,6 +54,8 @@ public:
virtual void print(raw_ostream &O, const Module *M = 0) const;
};
+} // end anonymous namespace
+
void Delinearization::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
AU.addRequired<LoopInfo>();
More information about the llvm-commits
mailing list