Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Kasper (0.18 sec)

  1. src/cmd/cgo/gcc.go

    	// An untyped nil does not need a pointer check, and when
    	// _cgoCheckPointer returns the untyped nil the type assertion we
    	// are going to insert will fail.  Easier to just skip nil arguments.
    	// TODO: Note that this fails if nil is shadowed.
    	if id, ok := arg.(*ast.Ident); ok && id.Name == "nil" {
    		return false
    	}
    
    	return p.hasPointer(f, t, true)
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top