[all-commits] [llvm/llvm-project] 1a68b5: [libc++] Fix broken Lit features based on __config...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri May 15 09:26:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a68b5f048c63f94b71e8aacb5507445c446c9d2
      https://github.com/llvm/llvm-project/commit/1a68b5f048c63f94b71e8aacb5507445c446c9d2
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-05-15 (Fri, 15 May 2020)

  Changed paths:
    M libcxx/utils/libcxx/test/features.py

  Log Message:
  -----------
  [libc++] Fix broken Lit features based on __config_site macros

Because of Python's funny scoping rules with lambdas, we were always
using the value of `macro` as set in the last iteration of the loop.
This problem was introduced by e7bdfba4f00d.




More information about the All-commits mailing list