[all-commits] [llvm/llvm-project] cd7f97: [libc++] NFC: Simplify substitutions by using lit ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Mar 27 08:09:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cd7f9751c30092033a5e97591876f972daf61989
      https://github.com/llvm/llvm-project/commit/cd7f9751c30092033a5e97591876f972daf61989
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-03-27 (Fri, 27 Mar 2020)

  Changed paths:
    M libcxx/test/lit.cfg
    M libcxx/utils/libcxx/test/config.py
    M libcxx/utils/libcxx/test/format.py

  Log Message:
  -----------
  [libc++] NFC: Simplify substitutions by using lit recursive substitutions

Since lit supports expanding substitutions recursively, we can define
substitutions in terms of other substitutions. This allows us to simplify
how libc++ substitutions are defined.

This doesn't change the substitutions at all, it only makes them simpler
to define.




More information about the All-commits mailing list