[all-commits] [llvm/llvm-project] 92416b: [ADT] Work around `enumerate` compilation error wi...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Mon Mar 20 11:36:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92416b63a57b74689abc175bcafd97b674ff9728
      https://github.com/llvm/llvm-project/commit/92416b63a57b74689abc175bcafd97b674ff9728
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h

  Log Message:
  -----------
  [ADT] Work around `enumerate` compilation error with modules enabled

This manifests on Apple clang 14 with `-DLLVM_ENABLE_MODULES=1` and
`-DLLVM_ENABLE_ASSERTIONS=1` and seems like a host compiler bug.

Sample compilation failure:
https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/52513/consoleFull#-458239162a1ca8a51-895e-46c6-af87-ce24fa4cd561.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D146340




More information about the All-commits mailing list