[libcxx-commits] [libcxx] r353140 - Fix double curlies

JF Bastien via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 4 21:34:12 PST 2019


Author: jfb
Date: Mon Feb  4 21:34:12 2019
New Revision: 353140

URL: http://llvm.org/viewvc/llvm-project?rev=353140&view=rev
Log:
Fix double curlies

Pointed out by Arthur in D57624.

Modified:
    libcxx/trunk/utils/generate_feature_test_macro_components.py

Modified: libcxx/trunk/utils/generate_feature_test_macro_components.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/utils/generate_feature_test_macro_components.py?rev=353140&r1=353139&r2=353140&view=diff
==============================================================================
--- libcxx/trunk/utils/generate_feature_test_macro_components.py (original)
+++ libcxx/trunk/utils/generate_feature_test_macro_components.py Mon Feb  4 21:34:12 2019
@@ -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,




More information about the libcxx-commits mailing list