Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rewriteName (0.1 sec)

  1. src/cmd/cgo/gcc.go

    	for name, used := range functions {
    		if !used {
    			delete(f.Name, name)
    		}
    	}
    }
    
    // rewriteName returns the expression used to rewrite a reference.
    // 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top