Commit 9041714
committed
Fix JSCRuntime invalidate() specifier ordering (noexcept before JSI_DISABLE_ASAN)
Clang requires noexcept to appear before compiler attributes like
__attribute__((no_sanitize("address"))). Having JSI_DISABLE_ASAN
(which expands to that attribute when ASAN is enabled) after noexcept
causes a build error:
error: expected function body after function declarator
Reorder to: noexcept JSI_DISABLE_ASAN across all four affected sites.1 parent eb3bccb commit 9041714
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| |||
527 | 533 | | |
528 | 534 | | |
529 | 535 | | |
530 | | - | |
| 536 | + | |
531 | 537 | | |
532 | 538 | | |
533 | 539 | | |
| |||
552 | 558 | | |
553 | 559 | | |
554 | 560 | | |
555 | | - | |
| 561 | + | |
556 | 562 | | |
557 | 563 | | |
558 | 564 | | |
| |||
587 | 593 | | |
588 | 594 | | |
589 | 595 | | |
590 | | - | |
| 596 | + | |
591 | 597 | | |
592 | 598 | | |
593 | 599 | | |
| |||
863 | 869 | | |
864 | 870 | | |
865 | 871 | | |
866 | | - | |
| 872 | + | |
867 | 873 | | |
868 | 874 | | |
869 | 875 | | |
| |||
0 commit comments