[all-commits] [llvm/llvm-project] c4ca3a: [libc++] Simplify transitive includes test and fix...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Oct 3 13:09:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4ca3a2c4b00033c393f694c1d92d28ff55c69cd
      https://github.com/llvm/llvm-project/commit/c4ca3a2c4b00033c393f694c1d92d28ff55c69cd
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-10-03 (Mon, 03 Oct 2022)

  Changed paths:
    R libcxx/test/libcxx/transitive_includes.sanitize.py
    M libcxx/test/libcxx/transitive_includes.sh.cpp
    M libcxx/test/libcxx/transitive_includes/cxx14.csv
    M libcxx/test/libcxx/transitive_includes/cxx17.csv
    M libcxx/test/libcxx/transitive_includes/cxx20.csv
    M libcxx/test/libcxx/transitive_includes/cxx2b.csv
    M libcxx/test/libcxx/transitive_includes_to_csv.py

  Log Message:
  -----------
  [libc++] Simplify transitive includes test and fix a bug

This patch incorporates the "sanitize" step of the transitive includes
test into the CSV generator itself. In doing so, it removes complexity
in the test but also fixes a bug where we would filter out <__mutex>
from the output, leading to an incorrect list of includes for the
<shared_mutex> header.

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




More information about the All-commits mailing list