Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StmtWithInit (0.08 sec)

  1. src/cmd/compile/internal/ir/fmt.go

    	OIF:         -1,
    	OLABEL:      -1,
    	OGO:         -1,
    	ORANGE:      -1,
    	ORETURN:     -1,
    	OSELECT:     -1,
    	OSWITCH:     -1,
    
    	OEND: 0,
    }
    
    // StmtWithInit reports whether op is a statement with an explicit init list.
    func StmtWithInit(op Op) bool {
    	switch op {
    	case OIF, OFOR, OSWITCH:
    		return true
    	}
    	return false
    }
    
    func stmtFmt(n Node, s fmt.State) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top