aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2009-08-27 23:44:33 +0000
committerGabor Greif <ggreif@gmail.com>2009-08-27 23:44:33 +0000
commitab36e15e689a516f8ff2af4c2c0210a90a423652 (patch)
treeab562add7fce10ca928554df16111b6e8fd1844b /include/llvm/Support
parent41d850e034d4f33728c8d8d51a3811dbe0fccf8c (diff)
downloadexternal_llvm-ab36e15e689a516f8ff2af4c2c0210a90a423652.zip
external_llvm-ab36e15e689a516f8ff2af4c2c0210a90a423652.tar.gz
external_llvm-ab36e15e689a516f8ff2af4c2c0210a90a423652.tar.bz2
eliminate all 80-col violations that I have introduced in my recent checkins (and some others more)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r--include/llvm/Support/CFG.h14
-rw-r--r--include/llvm/Support/GetElementPtrTypeIterator.h3
2 files changed, 10 insertions, 7 deletions
diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h
index ca181c5..3a20696 100644
--- a/include/llvm/Support/CFG.h
+++ b/include/llvm/Support/CFG.h
@@ -21,12 +21,13 @@
namespace llvm {
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
// BasicBlock pred_iterator definition
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
template <class _Ptr, class _USE_iterator> // Predecessor Iterator
-class PredIterator : public std::iterator<std::forward_iterator_tag, _Ptr, ptrdiff_t> {
+class PredIterator : public std::iterator<std::forward_iterator_tag,
+ _Ptr, ptrdiff_t> {
typedef std::iterator<std::forward_iterator_tag, _Ptr, ptrdiff_t> super;
_USE_iterator It;
public:
@@ -79,12 +80,13 @@ inline pred_const_iterator pred_end(const BasicBlock *BB) {
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
// BasicBlock succ_iterator definition
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
template <class Term_, class BB_> // Successor Iterator
-class SuccIterator : public std::iterator<std::bidirectional_iterator_tag, BB_, ptrdiff_t> {
+class SuccIterator : public std::iterator<std::bidirectional_iterator_tag,
+ BB_, ptrdiff_t> {
const Term_ Term;
unsigned idx;
typedef std::iterator<std::bidirectional_iterator_tag, BB_, ptrdiff_t> super;
diff --git a/include/llvm/Support/GetElementPtrTypeIterator.h b/include/llvm/Support/GetElementPtrTypeIterator.h
index 9430477..f5915c9 100644
--- a/include/llvm/Support/GetElementPtrTypeIterator.h
+++ b/include/llvm/Support/GetElementPtrTypeIterator.h
@@ -22,7 +22,8 @@ namespace llvm {
template<typename ItTy = User::const_op_iterator>
class generic_gep_type_iterator
: public std::iterator<std::forward_iterator_tag, const Type *, ptrdiff_t> {
- typedef std::iterator<std::forward_iterator_tag, const Type *, ptrdiff_t> super;
+ typedef std::iterator<std::forward_iterator_tag,
+ const Type *, ptrdiff_t> super;
ItTy OpIt;
const Type *CurTy;