[llvm] r232316 - PostOrderIterator: Remove stray semicolon

David Blaikie dblaikie at gmail.com
Sun Mar 15 08:35:23 PDT 2015


Thanks for the catch!
On Mar 15, 2015 12:12 AM, "David Majnemer" <david.majnemer at gmail.com> wrote:

> Author: majnemer
> Date: Sun Mar 15 02:09:18 2015
> New Revision: 232316
>
> URL: http://llvm.org/viewvc/llvm-project?rev=232316&view=rev
> Log:
> PostOrderIterator: Remove stray semicolon
>
> Modified:
>     llvm/trunk/include/llvm/ADT/PostOrderIterator.h
>
> Modified: llvm/trunk/include/llvm/ADT/PostOrderIterator.h
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/PostOrderIterator.h?rev=232316&r1=232315&r2=232316&view=diff
>
> ==============================================================================
> --- llvm/trunk/include/llvm/ADT/PostOrderIterator.h (original)
> +++ llvm/trunk/include/llvm/ADT/PostOrderIterator.h Sun Mar 15 02:09:18
> 2015
> @@ -154,10 +154,7 @@ public:
>    // time... so that you can actually call methods ON the BasicBlock,
> because
>    // the contained type is a pointer.  This allows BBIt->getTerminator()
> f.e.
>    //
> -  NodeType *operator->() const {
> -    return **this;
> -    ;
> -  }
> +  NodeType *operator->() const { return **this; }
>
>    po_iterator &operator++() { // Preincrement
>      this->finishPostorder(VisitStack.back().first);
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150315/f90026d2/attachment.html>


More information about the llvm-commits mailing list