[all-commits] [llvm/llvm-project] e39095: [libc++] Define _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADE...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Mar 15 14:18:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e39095a32e882185611eaa02509e12cef9083b73
      https://github.com/llvm/llvm-project/commit/e39095a32e882185611eaa02509e12cef9083b73
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M libcxx/include/__format/parser_std_format_spec.h
    M libcxx/include/__iterator/size.h
    M libcxx/include/__random/linear_congruential_engine.h
    M libcxx/include/any
    M libcxx/include/barrier
    M libcxx/include/bitset
    M libcxx/include/charconv
    M libcxx/include/experimental/simd
    M libcxx/include/istream
    M libcxx/include/latch
    M libcxx/include/regex
    M libcxx/include/string
    M libcxx/include/tuple
    M libcxx/include/variant
    M libcxx/include/vector
    M libcxx/test/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp
    M libcxx/test/std/concepts/concepts.object/movable.compile.pass.cpp
    M libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/const_pair.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp
    M libcxx/test/std/utilities/variant/variant.variant/variant.assign/T.pass.cpp
    M libcxx/test/support/type_classification/movable.h
    M libcxx/utils/libcxx/test/features.py
    M libcxx/utils/libcxx/test/params.py

  Log Message:
  -----------
  [libc++] Define _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER whenever we enable warnings in the test suite

This should make CI consistent on all the compilers we support. Most of
this patch is working around various warnings emitted by GCC in our code
base, which are now being shown when we compile the tests.

After this patch, the whole test suite should be warning free on all
compilers we support and test, except for a few warnings on GCC that
we silence explicitly until we figure out the proper fix for them.

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




More information about the All-commits mailing list