From 6c35f5569282cb662c28131cc7826f6d2ce1baa8 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Wed, 16 Apr 2014 22:38:02 +0000 Subject: [c++11] Tidy up AsmPrinter.cpp. Range'ify loops and tidy up some by-reference handling. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206422 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/AsmPrinter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 654b72982a..16eb5e2996 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -252,7 +252,7 @@ namespace llvm { /// EmitBasicBlockStart - This method prints the label for the specified /// MachineBasicBlock, an alignment (if present) and a comment describing /// it if appropriate. - void EmitBasicBlockStart(const MachineBasicBlock *MBB) const; + void EmitBasicBlockStart(const MachineBasicBlock &MBB) const; /// \brief Print a general LLVM constant to the .s file. void EmitGlobalConstant(const Constant *CV); -- cgit v1.2.3