summaryrefslogtreecommitdiffhomepage
path: root/vendor/golang.org/x/tools/go/ssa/util_go120.go
blob: 9e8ea874e144b4ef8ee3c347aa0a3a96c038d111 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2024 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build go1.20
// +build go1.20

package ssa

import (
	"go/ast"
	"go/token"
)

func init() {
	rangePosition = func(rng *ast.RangeStmt) token.Pos { return rng.Range }
}