Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for autogenerated (0.26 sec)

  1. src/cmd/internal/testdir/testdir_test.go

    func splitOutput(out string, wantAuto bool) []string {
    	// gc error messages continue onto additional lines with leading tabs.
    	// Split the output at the beginning of each line that doesn't begin with a tab.
    	// <autogenerated> lines are impossible to match so those are filtered out.
    	var res []string
    	for _, line := range strings.Split(out, "\n") {
    		if strings.HasSuffix(line, "\r") { // remove '\r', output by compiler on windows
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    	if f.ruleMatches == nil {
    		f.ruleMatches = make(map[string]int)
    	}
    	f.ruleMatches[key]++
    	return true
    }
    
    // warnRule generates compiler debug output with string s when
    // v is not in autogenerated code, cond is true and the rule has fired.
    func warnRule(cond bool, v *Value, s string) bool {
    	if pos := v.Pos; pos.Line() > 1 && cond {
    		v.Block.Func.Warnl(pos, s)
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top