[all-commits] [llvm/llvm-project] 2776be: [libc++] improve feature test macro script

Wim Leflere via All-commits all-commits at lists.llvm.org
Mon Jan 18 12:23:45 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2776be43f0c28031348d2b18a050a8d6d01120f2
      https://github.com/llvm/llvm-project/commit/2776be43f0c28031348d2b18a050a8d6d01120f2
  Author: Wim Leflere <wim.leflere at gmail.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++] improve feature test macro script

I've been playing a bit with the `generate_feature_test_macro_components.py` script and replaced some hardcoded values with extra code generation (generate ALL the things).
The output is the same and it makes updating the script less work for the coming 25 C++ standards (until 2 digit number overflow).

Feel free to 'veto' if you think it's overkill.

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




More information about the All-commits mailing list