[all-commits] [llvm/llvm-project] d9e546: [clang-pseudo] Forest.h - don't inherit from std::...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Aug 9 02:19:33 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9e5462da61c3e2137a21a868a36f7022a39b59e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M clang-tools-extra/pseudo/include/clang-pseudo/Forest.h

  Log Message:
  [clang-pseudo] Forest.h - don't inherit from std::iterator

Now that we've updated to C++17 MSVC gives very verbose warnings about not creating classes that inherit from std::iterator - use llvm::iterator_facade_base instead

Fixes #57005

More information about the All-commits mailing list