[all-commits] [llvm/llvm-project] 29f6c0: [JITLink][AArch32] Fix MSVC error on missing const...

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Wed Sep 13 14:40:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29f6c0fdfeb48f5f766d2ba02014358df69e8170
      https://github.com/llvm/llvm-project/commit/29f6c0fdfeb48f5f766d2ba02014358df69e8170
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    M llvm/unittests/ExecutionEngine/JITLink/AArch32Tests.cpp

  Log Message:
  -----------
  [JITLink][AArch32] Fix MSVC error on missing constexpr capture

The Windows MSVC builder complains: 'ImmMask' cannot be implicitly captured because no default capture mode has been
specified
When adding the explicit capture, Clang warns: Lambda capture 'ImmMask' is not required to be captured for this use

This seems to be a known implementation divergence. Using a default value capture should avoid the issue.




More information about the All-commits mailing list