diff options
author | Adrian Prantl <aprantl@apple.com> | 2015-01-22 16:55:20 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2015-01-22 16:55:20 +0000 |
commit | 2585a98d383b7503884b13819ffee4917b5c4694 (patch) | |
tree | c44bbaaf618fd5724efa7da584a9e01a53a4cea9 /llvm/lib | |
parent | 438b250d8ae383ee53bf359fd65ec010dc121577 (diff) | |
download | bcm5719-llvm-2585a98d383b7503884b13819ffee4917b5c4694.tar.gz bcm5719-llvm-2585a98d383b7503884b13819ffee4917b5c4694.zip |
Rename DIExpressionIterator to DIExpression::iterator.
Addresses review feedback from Duncan.
llvm-svn: 226835
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h | 2 | ||||
-rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp index d1b648ffabc..eb101ca2dcb 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp @@ -242,9 +242,9 @@ bool DwarfExpression::AddMachineRegExpression(DIExpression Expr, return true; } -void DwarfExpression::AddExpression(DIExpressionIterator I, +void DwarfExpression::AddExpression(DIExpression::iterator I, unsigned PieceOffsetInBits) { - for (; I != DIExpressionIterator(); ++I) { + for (; I != DIExpression::iterator(); ++I) { switch (*I) { case dwarf::DW_OP_piece: { unsigned SizeOfByte = 8; diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h index 11db59eadb0..14e07fcdb98 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h @@ -96,7 +96,7 @@ public: /// Emit a the operations remaining the DIExpressionIterator I. /// \param PieceOffsetInBits If this is one piece out of a fragmented /// location, this is the offset of the piece inside the entire variable. - void AddExpression(DIExpressionIterator I, unsigned PieceOffsetInBits = 0); +void AddExpression(DIExpression::iterator I, unsigned PieceOffsetInBits = 0); }; /// DwarfExpression implementation for .debug_loc entries. diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index f7892dd3497..da77c9bb6f9 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -162,12 +162,12 @@ uint64_t DIExpression::getPieceSize() const { return getElement(getNumElements()-1); } -DIExpressionIterator DIExpression::begin() const { - return DIExpressionIterator(*this); +DIExpression::iterator DIExpression::begin() const { + return DIExpression::iterator(*this); } -DIExpressionIterator DIExpression::end() const { - return DIExpressionIterator(); +DIExpression::iterator DIExpression::end() const { + return DIExpression::iterator(); } //===----------------------------------------------------------------------===// |