[all-commits] [llvm/llvm-project] fb47ff: [libc++] Provide a method for adding compiler flag...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Mar 31 06:30:18 PDT 2020


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

  Changed paths:
    M libcxx/test/std/experimental/filesystem/lit.local.cfg
    M libcxx/test/std/experimental/language.support/support.coroutines/lit.local.cfg
    M libcxx/test/std/input.output/filesystems/lit.local.cfg
    M libcxx/utils/libcxx/test/format.py

  Log Message:
  -----------
  [libc++] Provide a method for adding compiler flags in lit.local.cfg files

That way, local lit configuration files don't have to worry about
deep-copying the compiler instance of the test format, which is
arguably an implementation detail.

We pass the config to this method even though it is not used by the
current test format because this allows replacing the current test
format by other test formats that would require the config to add
new compile flags.




More information about the All-commits mailing list