Still some more tabs to be taken care of. arm-gen.c and tcccoff.c have so many style issues that I'm just going to throw clang-format at them.
Showing the changes to tccpp.c (1 of 10 files). Show all
Unified · Split
| @@ -786,7 +786,7 @@ redo_start: · 785 unmodified lines | |||
| 786 | else if (tok == TOK_LINEFEED) | 786 | else if (tok == TOK_LINEFEED) |
| 787 | goto redo_start; | 787 | goto redo_start; |
| 788 | } else if (parse_flags & PARSE_FLAG_ASM_FILE) | 788 | } else if (parse_flags & PARSE_FLAG_ASM_FILE) |
| 789 | p = parse_line_comment(p); | 789 | p = parse_line_comment(p); |
| 790 | break; | 790 | break; |
| 791 | _default: | 791 | _default: |
| 792 | default: | 792 | default: |
| @@ -1786,7 +1786,7 @@ _line_num: · 993 unmodified lines | |||
| 1786 | total_lines += file->line_num - n; | 1786 | total_lines += file->line_num - n; |
| 1787 | file->line_num = n; | 1787 | file->line_num = n; |
| 1788 | if (s1->do_debug) | 1788 | if (s1->do_debug) |
| 1789 | put_stabs(file->filename, N_BINCL, 0, 0, 0); | 1789 | put_stabs(file->filename, N_BINCL, 0, 0, 0); |
| 1790 | break; | 1790 | break; |
| 1791 | case TOK_ERROR: | 1791 | case TOK_ERROR: |
| 1792 | case TOK_WARNING: | 1792 | case TOK_WARNING: |
| @@ -2272,7 +2272,7 @@ static void parse_number(const char *p) · 479 unmodified lines | |||
| 2272 | if (n & 0xffffffff00000000LL || must_64bit) { | 2272 | if (n & 0xffffffff00000000LL || must_64bit) { |
| 2273 | tok = TOK_CLLONG; | 2273 | tok = TOK_CLLONG; |
| 2274 | n1 = n >> 32; | 2274 | n1 = n >> 32; |
| 2275 | } else { | 2275 | } else { |
| 2276 | tok = TOK_CINT; | 2276 | tok = TOK_CINT; |
| 2277 | n1 = n; | 2277 | n1 = n; |
| 2278 | } | 2278 | } |
| @@ -2538,7 +2538,7 @@ maybe_newline: · 259 unmodified lines | |||
| 2538 | } else if (c == '.') { | 2538 | } else if (c == '.') { |
| 2539 | PEEKC(c, p); | 2539 | PEEKC(c, p); |
| 2540 | if (c != '.') | 2540 | if (c != '.') |
| 2541 | expect("'.'"); | 2541 | expect("'.'"); |
| 2542 | PEEKC(c, p); | 2542 | PEEKC(c, p); |
| 2543 | tok = TOK_DOTS; | 2543 | tok = TOK_DOTS; |
| 2544 | } else { | 2544 | } else { |