Timeline
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

About branch tcl-unreachable

This branch starts the process of adding C23 support. It does this by formalising the marking of code paths as either unreachable or (in the case of switch arms) as falling through. This replaces a number of panics and ad hoc comments.

There are fallbacks for common compilers in non-C23 mode where I can work out what they should be.

16 check-ins related to "tcl-unreachable"
2025-06-01
10:24
Add [[unreachable]] and [[fallthrough]] from C23 (where available) check-in: 0ae5d5f12e user: dkf tags: trunk, main
2025-05-31
08:13
Should set variable earlier Closed-Leaf check-in: 2b0bb48595 user: dkf tags: tcl-unreachable
2025-05-30
14:17
merge trunk check-in: 2c6d0910b1 user: dkf tags: tcl-unreachable
14:00
Minor refactor of some parts of TclOO code check-in: 92535c5998 user: dkf tags: trunk, main
13:35
Another switch that can be marked explicitly as exhaustive check-in: 72ebb553a6 user: dkf tags: tcl-unreachable
08:28
Workaround for Clang being obnoxious check-in: e6d296955c user: dkf tags: tcl-unreachable
2025-05-29
20:26
Don't read uninitialised memory; store in TEBCdata instead check-in: 2cf08c1933 user: dkf tags: tcl-unreachable
15:18
Go back to other way of working; actually more efficient in this case check-in: 2addd5bfbd user: dkf tags: tcl-unreachable
15:10
merge trunk check-in: e1ef92cb5d user: dkf tags: tcl-unreachable
15:07
put back accidentally removed code check-in: a4478cfda9 user: dkf tags: tcl-unreachable
08:17
Apple's clang-pretending-to-be-gcc is slightly fussy check-in: ff44622222 user: dkf tags: tcl-unreachable
08:13
more unreachable/fallthrough marks check-in: dc49f7f0a3 user: dkf tags: tcl-unreachable
2025-05-27
19:11
More marking of paths as unreachable check-in: 1482b8cabb user: dkf tags: tcl-unreachable
11:28
Add a TCL_UNREACHABLE macro for marking a code path as never reached Inspired by https://en.cppre... check-in: e1684bac3a user: dkf tags: tcl-unreachable
05:02
Merge 9.0. Disable unsupported icu tests for valgrind as dl_load of icu muddies valgrind output check-in: ef7f12a7fc user: apnadkarni tags: trunk, main
2025-05-23
14:51
Factor out code for describing the args to a method. check-in: eff58f2520 user: dkf tags: trunk, main