File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 2525 header_guard = lambda h : f"_LIBCPP_{ h .upper ().replace ('.' , '_' ).replace ('/' , '_' )} "
2626
2727 # <cassert> has no header guards
28- if header == ' cassert' :
28+ if header == " cassert" :
2929 checks = ""
3030 else :
3131 checks = f"""
Original file line number Diff line number Diff line change 1414import sys
1515
1616sys .path .append (sys .argv [1 ])
17- from libcxx .header_information import lit_header_restrictions , header_undeprecations , public_headers
17+ from libcxx .header_information import (
18+ lit_header_restrictions ,
19+ header_undeprecations ,
20+ public_headers ,
21+ )
1822
1923for header in public_headers :
20- if header == ' cassert' :
21- continue
24+ if header == " cassert" :
25+ continue
2226
23- print (f"""\
27+ print (
28+ f"""\
2429 //--- { header } .compile.pass.cpp
2530{ lit_header_restrictions .get (header , '' )}
2631{ header_undeprecations .get (header , '' )}
3035#ifdef assert
3136# error "Do not include cassert or assert.h in standard header files"
3237#endif
33- """ )
38+ """
39+ )
You can’t perform that action at this time.
0 commit comments