- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getNewIdent (0.06 sec)
-
src/cmd/cgo/gcc.go
// If addPosition is true, add position info in the ident name. func (p *Package) rewriteName(f *File, r *Ref, addPosition bool) ast.Expr { getNewIdent := ast.NewIdent if addPosition { getNewIdent = func(newName string) *ast.Ident { mangledIdent := ast.NewIdent(newName) if len(newName) == len(r.Name.Go) { return mangledIdent } p := fset.Position((*r.Expr).End())
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0)