Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for isMangledName (0.44 seconds)

  1. src/cmd/cgo/ast.go

    			c = c[2 : len(c)-2]
    		}
    		pieces = append(pieces, c)
    	}
    	return strings.Join(pieces, "")
    }
    
    func (f *File) validateIdents(x any, context astContext) {
    	if x, ok := x.(*ast.Ident); ok {
    		if f.isMangledName(x.Name) {
    			error_(x.Pos(), "identifier %q may conflict with identifiers generated by cgo", x.Name)
    		}
    	}
    }
    
    // Save various references we are going to need later.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:59 GMT 2026
    - 14.4K bytes
    - Click Count (0)
Back to Top