X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FCodeGen%2FCollectorMetadata.cpp;h=7a5a699a117fbf840dd3cde246b49a788dbb3768;hb=6fa1c051dc515b6fd1f9a26ac12fed985469bff5;hp=57349390b01b8215a32c64717a5b56b762184807;hpb=ad93c4f936d220570535711262e0fff8857f798a;p=oota-llvm.git diff --git a/lib/CodeGen/CollectorMetadata.cpp b/lib/CodeGen/CollectorMetadata.cpp index 57349390b01..7a5a699a117 100644 --- a/lib/CodeGen/CollectorMetadata.cpp +++ b/lib/CodeGen/CollectorMetadata.cpp @@ -2,8 +2,8 @@ // // The LLVM Compiler Infrastructure // -// This file was developed by Gordon Henriksen and is distributed under -// the University of Illinois Open Source License. See LICENSE.TXT for details. +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // @@ -30,7 +30,7 @@ namespace { std::ostream &OS; public: - Printer(std::ostream &OS = *cerr); + explicit Printer(std::ostream &OS = *cerr); const char *getPassName() const; void getAnalysisUsage(AnalysisUsage &AU) const; @@ -51,11 +51,11 @@ namespace { bool doFinalization(Module &M); }; - RegisterPass - X("collector-metadata", "Create Garbage Collector Module Metadata"); - } +static RegisterPass +X("collector-metadata", "Create Garbage Collector Module Metadata"); + // ----------------------------------------------------------------------------- CollectorMetadata::CollectorMetadata(const Function &F, Collector &C)