[STLExtras] Make const the * operator for mapped_iterator.
authorAlina Sbirlea <asbirlea@google.com>
Tue, 14 Apr 2020 01:51:20 +0000 (18:51 -0700)
committerAlina Sbirlea <asbirlea@google.com>
Tue, 14 Apr 2020 18:04:20 +0000 (11:04 -0700)
commitd5fcb7966e0eded6393d728e2a38f2d55e2d61e0
treed022fad4f3c383974deee750ab094ee63d4c395c
parent3c87fba27f85d31a6474512248484be64a0576e5
[STLExtras] Make const the * operator for mapped_iterator.

Summary:
The current non-const * operator shadows the const operator in
iterator_adaptor_base.

Reviewers: mehdi_amini, rriddle!, dblaikie, timshen

Subscribers: dexonsmith, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, frgossen, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78073
llvm/include/llvm/ADT/STLExtras.h
mlir/include/mlir/IR/Attributes.h