1
0
mirror of https://github.com/golang/go synced 2024-11-19 05:24:42 -07:00
go/src/regexp
Dominik Honnef fdba5a7544 all: delete dead non-test code
This change removes a lot of dead code. Some of the code has never been
used, not even when it was first commited. The rest shouldn't have
survived refactors.

This change doesn't remove unused routines helpful for debugging, nor
does it remove code that's used in commented out blocks of code that are
only unused temporarily. Furthermore, unused constants weren't removed
when they were part of a set of constants from specifications.

One noteworthy omission from this CL are about 1000 lines of unused code
in cmd/fix, 700 lines of which are the typechecker, which hasn't been
used ever since the pre-Go 1 fixes have been removed. I wasn't sure if
this code should stick around for future uses of cmd/fix or be culled as
well.

Change-Id: Ib714bc7e487edc11ad23ba1c3222d1fd02e4a549
Reviewed-on: https://go-review.googlesource.com/20926
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-03-25 06:28:13 +00:00
..
syntax all: single space after period. 2016-03-02 00:13:47 +00:00
testdata regexp/syntax: fix factoring of common prefixes in alternations 2016-01-08 16:41:46 +00:00
all_test.go regexp: fix LiteralPrefix for certain onepass progs 2015-11-25 17:28:33 +00:00
backtrack.go all: delete dead non-test code 2016-03-25 06:28:13 +00:00
example_test.go regexp: add runnable example to regex.Split 2015-09-23 03:29:32 +00:00
exec2_test.go
exec_test.go all: delete dead test code 2016-03-21 07:10:08 +00:00
exec.go all: delete dead non-test code 2016-03-25 06:28:13 +00:00
find_test.go
onepass_test.go all: delete dead test code 2016-03-21 07:10:08 +00:00
onepass.go all: single space after period. 2016-03-02 00:13:47 +00:00
regexp.go all: delete dead non-test code 2016-03-25 06:28:13 +00:00