diff options
author | Jim Grosbach <grosbach@apple.com> | 2014-04-16 22:38:02 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2014-04-16 22:38:02 +0000 |
commit | 6c35f5569282cb662c28131cc7826f6d2ce1baa8 (patch) | |
tree | b93454b01692c8345edc07cf9dea51eb70d98d43 /include | |
parent | 3abd729d213f760cf146b845cf0e8432c2c73aea (diff) | |
download | llvm-6c35f5569282cb662c28131cc7826f6d2ce1baa8.tar.gz llvm-6c35f5569282cb662c28131cc7826f6d2ce1baa8.tar.bz2 llvm-6c35f5569282cb662c28131cc7826f6d2ce1baa8.tar.xz |
[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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |