summaryrefslogtreecommitdiffstats
path: root/libcxx/utils/generate_feature_test_macro_components.py
diff options
context:
space:
mode:
authorJF Bastien <jfbastien@apple.com>2019-02-05 05:34:12 +0000
committerJF Bastien <jfbastien@apple.com>2019-02-05 05:34:12 +0000
commit73f499771f84ffed1c2a7fb19593d05f3cd91ffd (patch)
tree26348ea6adba20f1de916b5fa7957108bd3d05ac /libcxx/utils/generate_feature_test_macro_components.py
parent6141b037a98ae641eb60f5344d244252871a21cf (diff)
downloadbcm5719-llvm-73f499771f84ffed1c2a7fb19593d05f3cd91ffd.tar.gz
bcm5719-llvm-73f499771f84ffed1c2a7fb19593d05f3cd91ffd.zip
Fix double curlies
Pointed out by Arthur in D57624. llvm-svn: 353140
Diffstat (limited to 'libcxx/utils/generate_feature_test_macro_components.py')
-rwxr-xr-xlibcxx/utils/generate_feature_test_macro_components.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/utils/generate_feature_test_macro_components.py b/libcxx/utils/generate_feature_test_macro_components.py
index d923208a124..c11846ec6e1 100755
--- a/libcxx/utils/generate_feature_test_macro_components.py
+++ b/libcxx/utils/generate_feature_test_macro_components.py
@@ -865,7 +865,7 @@ def produce_tests():
#endif // TEST_STD_VER > 17
-int main(int, char**) { return 0; }
+int main(int, char**) {{ return 0; }}
""".format(script_name=script_name,
header=h,
test_tags=test_tags,
OpenPOWER on IntegriCloud