[all-commits] [llvm/llvm-project] 469685: DeclContext: Fix iterator category

Björn Schäpers via All-commits all-commits at lists.llvm.org
Fri Apr 16 12:00:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46968577336f29ddc5fd30e87cb94b03fa3c9cd9
      https://github.com/llvm/llvm-project/commit/46968577336f29ddc5fd30e87cb94b03fa3c9cd9
  Author: Björn Schäpers <bjoern at hazardy.de>
  Date:   2021-04-16 (Fri, 16 Apr 2021)

  Changed paths:
    M clang/include/clang/AST/DeclBase.h

  Log Message:
  -----------
  DeclContext: Fix iterator category

This amends 0cb7e7ca0c864e052bf49978f3bcd667c9e16930.
The iterator category of lookup_iterator was changed, but here it stayed
hardcoded as random access. Found while trying to build Clazy.

Differential-Revision: https://reviews.llvm.org/D100590




More information about the All-commits mailing list