[all-commits] [llvm/llvm-project] f7007c: Lambdas are not necessarily locals. This resolves ...

David Spickett via All-commits all-commits at lists.llvm.org
Tue Mar 8 20:44:46 PST 2022


  Branch: refs/heads/release/14.x
  Home:   https://github.com/llvm/llvm-project
  Commit: f7007c570a216c0fa87b863733a1011bdb2ff9ca
      https://github.com/llvm/llvm-project/commit/f7007c570a216c0fa87b863733a1011bdb2ff9ca
  Author: David Stone <davidfromonline at gmail.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/SemaCXX/lambdas-implicit-explicit-template.cpp

  Log Message:
  -----------
  Lambdas are not necessarily locals. This resolves DR48250.

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

(cherry picked from commit 0bff3a965022647fcdd17cc8f2217f5a2cd30b4c)


  Commit: 569b773323a3a1c174ae794741c7e1191f8deefc
      https://github.com/llvm/llvm-project/commit/569b773323a3a1c174ae794741c7e1191f8deefc
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M libcxx/cmake/caches/Armv7Arm.cmake
    M libcxx/cmake/caches/Armv7Thumb-noexceptions.cmake
    M libcxx/cmake/caches/Armv8Arm.cmake
    M libcxx/cmake/caches/Armv8Thumb-noexceptions.cmake
    M libcxx/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp

  Log Message:
  -----------
  [libcxx][CI] Set Arm triples to match native clang build's default

We were using:
armv8-linux-gnueabihf
But for a native clang build the default target is:
armv8l-linux-gnueabihf

(ditto for v7)

Add the "l" to the target triples and update the one test
that is unsupported to look for the various possible names.

armv(7 or 8)(m or l, optionally)

The UNSUPPORTED does not include aarch64 because aarch64 Linux
(and others that follow Arm's AAPCS64) use quad precision for
long double where arm64 (darwin) does not:
https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms
https://github.com/ARM-software/abi-aa/blob/main/aapcs64/aapcs64.rst#811arithmetic-types

Reviewed By: rovka

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


Compare: https://github.com/llvm/llvm-project/compare/eb84577cbc23...569b773323a3


More information about the All-commits mailing list