[llvm] r199041 - [PM] Rename the IR printing pass header to a more generic and correct

Duncan P. N. Exon Smith dexonsmith at apple.com
Mon Jan 13 21:52:01 PST 2014


On 2014 Jan 12, at 03:10, Chandler Carruth <chandlerc at gmail.com> wrote:

> Copied: llvm/trunk/include/llvm/IR/IRPrintingPasses.h (from r199040, llvm/trunk/include/llvm/IR/PrintModulePass.h)
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/IRPrintingPasses.h?p2=llvm/trunk/include/llvm/IR/IRPrintingPasses.h&p1=llvm/trunk/include/llvm/IR/PrintModulePass.h&r1=199040&r2=199041&rev=199041&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/IR/PrintModulePass.h (original)
> +++ llvm/trunk/include/llvm/IR/IRPrintingPasses.h Sun Jan 12 05:10:32 2014
> @@ -1,4 +1,4 @@
> -//===- PrintModulePass.h - IR Printing Passes -------------------*- C++ -*-===//
> +//===- IRPrintingPasses.h - Passes to print out IR constructs ---*- C++ -*-===//
> //
> //                     The LLVM Compiler Infrastructure
> //
> @@ -6,13 +6,14 @@
> // License. See LICENSE.TXT for details.
> //
> //===----------------------------------------------------------------------===//
> -//
> -// This file defines two passes to print out a module.  The PrintModulePass pass
> -// simply prints out the entire module when it is executed.  The
> -// PrintFunctionPass class is designed to be pipelined with other
> -// FunctionPass's, and prints out the functions of the module as they are
> -// processed.
> -//
> +/// \file
> +///
> +/// This file defines passes to print out IR in various granularities. The
> +/// PrintModulePass pass simply prints out the entire module when it is
> +/// executed. The PrintFunctionPass class is designed to be pipelined with
> +/// other FunctionPass's, and prints out the functions of the module as they
> +/// are processed.
> +///
> //===----------------------------------------------------------------------===//
> 
> #ifndef LLVM_IR_PRINTMODULEPASS_H

You missed the header blocker, which should now be LLVM_IR_IRPRINTINGPASSES_H.



More information about the llvm-commits mailing list