https://llvm.org/bugs/show_bug.cgi?id=25862

            Bug ID: 25862
           Summary: AlignConsecutiveAssignments fail on operator=
           Product: clang
           Version: 3.7
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: jfreder...@gmail.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org
    Classification: Unclassified

// wrong formatted:
template <typename T, typename R>
VBiIterator& operator=(const VBiIterator<T, R>& other) {
  mIterator          = other.Iterator();
                    ^^^ that's wrong!
  return *this;
}

// well formatted:
template <typename T, typename R>
VBiIterator& operator=(const VBiIterator<T, R>& other) {
  mIterator = other.Iterator();
  return *this;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to