summaryrefslogtreecommitdiff
path: root/src/cmd/gofmt/rewrite.go
Commit message (Expand)AuthorAgeFilesLines
* cmd/gofmt: clear pattern match map at the correct timeMatthew Dempsky2017-02-081-1/+1
* all: single space after period.Brad Fitzpatrick2016-03-021-1/+1
* all: make copyright headers consistent with one space after periodBrad Fitzpatrick2016-03-011-1/+1
* all: use "reports whether" in place of "returns true if(f)"Josh Bleecher Snyder2015-03-181-1/+1
* gofmt: remove redundant check in rewriterRobert Griesemer2014-06-301-3/+0
* cmd/gofmt: minor internal cleanupsRobert Griesemer2014-02-271-13/+14
* go/parser: ParseExpr must accept type expressionsRobert Griesemer2013-04-031-2/+2
* cmd/gofmt: handle ... in rewrite of callsRobert Griesemer2013-04-021-1/+11
* gofmt: handle comments correctly in rewritesRobert Griesemer2012-06-251-1/+4
* go/parser: Remove unused Parse* functions. Simplified ParseExpr signature.Robert Griesemer2012-01-121-1/+1
* gofmt: leave nil nodes of the AST unchanged.Rémy Oudompheng2011-11-111-2/+2
* renaming_4: gofix -r everything/but/src/pkgRob Pike2011-11-081-1/+1
* gofix -r mapdeleteRuss Cox2011-10-181-1/+1
* gofmt: fix a couple of crashes, disallow rewrites for incomplete programsRobert Griesemer2011-10-111-1/+2
* go/printer: changed max. number of newlines from 3 to 2Robert Griesemer2011-07-141-10/+0
* strings.Split: make the default to split all.Rob Pike2011-06-281-1/+1
* fix tree for reflect renameRuss Cox2011-04-251-10/+10
* changes for more restricted reflect.SetValueRuss Cox2011-04-181-3/+3
* gofmt: gofmt test harness bug fixRobert Griesemer2011-04-141-0/+1
* gofmt: don't crash when rewriting nil interfaces in AST.Robert Griesemer2011-04-141-0/+16
* gofmt: avoid endless loopsRobert Griesemer2011-04-131-12/+36
* update go tree for reflect changesRuss Cox2011-04-081-40/+40
* gofmt -r: match(...) arguments may be nil; add missing guardsRobert Griesemer2011-01-261-2/+2
* gofmt: don't attempt certain illegal rewritesRobert Griesemer2011-01-071-10/+26
* gofmt: rewriter matches apply to expressions onlyRobert Griesemer2011-01-071-6/+9
* go/ast: use token.Pos instead of token.Position; adjust all dependent codeRobert Griesemer2010-12-061-2/+2
* gofmt: don't substitute invalid positions with valid ones in rewritesRobert Griesemer2010-09-241-0/+4
* go AST: First step towards augmenting AST with full type information.Robert Griesemer2010-08-131-4/+4
* strings and bytes.Split: make count of 0 mean 0, not infinite.Rob Pike2010-07-011-1/+1
* gofmt: fix for gofmt rewrite featureRobert Griesemer2010-03-151-3/+13
* More steps towards tracking of identifier scopes.Robert Griesemer2010-01-271-1/+1
* Steps towards tracking scopes for identifiers.Robert Griesemer2010-01-151-2/+2
* fix for gofmt rewrite matcher bugRobert Griesemer2009-12-171-0/+3
* - Parse expressions as opposed to statements for gofmt rewrite patterns.Robert Griesemer2009-12-161-11/+8
* 1) Change default gofmt default settings forRobert Griesemer2009-12-151-65/+65
* gofmt -r: documentation and minor fixesRuss Cox2009-11-231-16/+17
* gofmt: add -r flag to rewrite source code according to patternRuss Cox2009-11-201-0/+226