[all-commits] [llvm/llvm-project] 46a68c: Sema: const-qualify ParsedAttr::iterator::operator*()

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Fri Nov 12 11:53:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46a68c85bfc99f0bc651e5096a641d5d4051e99d
      https://github.com/llvm/llvm-project/commit/46a68c85bfc99f0bc651e5096a641d5d4051e99d
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2021-11-12 (Fri, 12 Nov 2021)

  Changed paths:
    M clang/include/clang/Sema/ParsedAttr.h

  Log Message:
  -----------
  Sema: const-qualify ParsedAttr::iterator::operator*()

`const`-qualify ParsedAttr::iterator::operator*(), clearing up confusion
about the two meanings of const for pointers/iterators. Helps unblock
removal of (non-const) iterator_facade_base::operator->().




More information about the All-commits mailing list