diff --git a/lib/Analysis/Delinearization.cpp b/lib/Analysis/Delinearization.cpp index 98a1ad3e639..6cc27b630cb 100644 --- a/lib/Analysis/Delinearization.cpp +++ b/lib/Analysis/Delinearization.cpp @@ -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();