History

fix _Noreturn keyword

Sergey Sushilin committed 7 years ago

Commit 53a15211 parent 7b8799e1 file · +1 −2Browse files

Unified · Split

tccgen.c+1−2
@@ -4402,9 +4402,8 @@ static int parse_btype(CType *type, AttributeDef *ad) · 4401 unmodified lines
4402 next();4402 next();
4403 break;4403 break;
4404 case TOK_NORETURN3:4404 case TOK_NORETURN3:
4405 /* currently, no need to handle it because tcc does not
4406 track unused objects */
4407 next();4405 next();
4406 ad->f.func_noreturn = 1;
4408 break;4407 break;
4409 /* GNUC attribute */4408 /* GNUC attribute */
4410 case TOK_ATTRIBUTE1:4409 case TOK_ATTRIBUTE1:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t