Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isIntrinsicNoReturn (0.27 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow.go

    		if b.Live && b.Return() != nil {
    			return true
    		}
    	}
    	return false
    }
    
    // isIntrinsicNoReturn reports whether a function intrinsically never
    // returns because it stops execution of the calling thread.
    // It is the base case in the recursion.
    func isIntrinsicNoReturn(fn *types.Func) bool {
    	// Add functions here as the need arises, but don't allocate memory.
    	path, name := fn.Pkg().Path(), fn.Name()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top