[libcxx-commits] [PATCH] D94530: [libc++] improve feature test macro script
Wim Leflere via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 12 10:08:00 PST 2021
WimLeflere created this revision.
WimLeflere added reviewers: arthur.j.odwyer, curdeius.
WimLeflere added a project: libc++.
Herald added a subscriber: arichardson.
WimLeflere requested review of this revision.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
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.
The script uses Python 3.6 f-strings, is there a limit on which Python version(s) can be used?
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94530
Files:
libcxx/utils/generate_feature_test_macro_components.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94530.316120.patch
Type: text/x-patch
Size: 4777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210112/91a12bf5/attachment-0001.bin>
More information about the libcxx-commits
mailing list