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 25
25
header_guard = lambda h : f"_LIBCPP_{ h .upper ().replace ('.' , '_' ).replace ('/' , '_' )} "
26
26
27
27
# <cassert> has no header guards
28
- if header == ' cassert' :
28
+ if header == " cassert" :
29
29
checks = ""
30
30
else :
31
31
checks = f"""
Original file line number Diff line number Diff line change 14
14
import sys
15
15
16
16
sys .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
+ )
18
22
19
23
for header in public_headers :
20
- if header == ' cassert' :
21
- continue
24
+ if header == " cassert" :
25
+ continue
22
26
23
- print (f"""\
27
+ print (
28
+ f"""\
24
29
//--- { header } .compile.pass.cpp
25
30
{ lit_header_restrictions .get (header , '' )}
26
31
{ header_undeprecations .get (header , '' )}
30
35
#ifdef assert
31
36
# error "Do not include cassert or assert.h in standard header files"
32
37
#endif
33
- """ )
38
+ """
39
+ )
You can’t perform that action at this time.
0 commit comments