[all-commits] [llvm/llvm-project] e7137f: [Passes] Try to fix build on windows

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jun 24 01:05:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7137f2fed5cfee822ae3c4c6d39188adb59a16c
      https://github.com/llvm/llvm-project/commit/e7137f2fed5cfee822ae3c4c6d39188adb59a16c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Passes/TargetPassRegistry.inc

  Log Message:
  -----------
  [Passes] Try to fix build on windows

Some passes reference *this (inside decltype) which fails with
MSVC. Fix this by not explicitly specifying the captures (otherwise
we would get an unused lambda capture warning for cases where this
is *not* used).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list