[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
This commit is contained in:
Jim Grosbach
2014-04-16 22:38:02 +00:00
parent 3abd729d21
commit 6c35f55692
2 changed files with 78 additions and 96 deletions

View File

@@ -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);