[libcxx] Make generate_feature_test_macro_components script compatible with Python 3.
authorLouis Dionne <ldionne@apple.com>
Wed, 6 Nov 2019 16:44:14 +0000 (16:44 +0000)
committerLouis Dionne <ldionne@apple.com>
Wed, 6 Nov 2019 16:45:47 +0000 (16:45 +0000)
commitfd02a4685522bf2ded1d8fb8831a1530c5da6be7
tree64bbcc96605d53cf37aabfaa003108b3bcba6021
parent049f94af487fc8be704f8740e2d2946ac5c6efc9
[libcxx] Make generate_feature_test_macro_components script compatible with Python 3.

The script is still compatible with Python 2 as well.
Thanks to Marek Kurdej for the patch.

Differential Revision: https://reviews.llvm.org/D69884
libcxx/utils/generate_feature_test_macro_components.py