[all-commits] [llvm/llvm-project] d2dd4b: [libc++] Adds a new feature-test macro generator c...

Mark de Wever via All-commits all-commits at lists.llvm.org
Thu Jul 4 22:54:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2dd4b55e67e333d9253abeeacac5d3de1a094db
      https://github.com/llvm/llvm-project/commit/d2dd4b55e67e333d9253abeeacac5d3de1a094db
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    A libcxx/test/libcxx/feature_test_macro/implemented_ftms.sh.py
    A libcxx/test/libcxx/feature_test_macro/invalid.sh.py
    A libcxx/test/libcxx/feature_test_macro/standard_ftms.sh.py
    A libcxx/test/libcxx/feature_test_macro/std_dialects.sh.py
    A libcxx/test/libcxx/feature_test_macro/test_data.json
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++] Adds a new feature-test macro generator class. (#90889)

The new feature-test macro generator uses a JSON file as input.
Separating the
code from the data allows for testing the code. The generator has
several tests.

This JSON format is based on the new format proposed in #88630

At the moment the FTM script has the existing code and an unused new
generator. Followup patches will complete the generator and convert the
existing
Python `dict` to the new JSON format. Since that conversion is a manual
job and
quite a bit of work the transition path has some unused code for some
time.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list