[ADT] Made numerous methods of ImmutableList const
authorKristof Umann <dkszelethus@gmail.com>
Wed, 12 Sep 2018 11:20:15 +0000 (11:20 +0000)
committerKristof Umann <dkszelethus@gmail.com>
Wed, 12 Sep 2018 11:20:15 +0000 (11:20 +0000)
commitc5f0f2f13a37721ee29e7f798cb1bd2bb92a78e3
tree86ba5795c63347a2e62c0a0e0ba02d28a356b320
parentcad7a46a236c75333f1219d3eaa352a26fcf7a13
[ADT] Made numerous methods of ImmutableList const

Also added ImmutableList<T>::iterator::operator->.

Differential Revision: https://reviews.llvm.org/D51881

llvm-svn: 342045
llvm/include/llvm/ADT/ImmutableList.h
llvm/unittests/ADT/ImmutableListTest.cpp