 6a979fb40d
			
		
	
	
		6a979fb40d
		
			
		
	
	
	
	
		
			
			* update staticcheck Don't fork staticcheck: use the upstream version. Remove unneeded SSA loading. * Cache go/analysis facts Don't load unneeded packages for go/analysis. Repeated run of go/analysis linters now 10x faster (2s vs 20s on this repo) than before.
		
			
				
	
	
		
			55 lines
		
	
	
		
			968 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			968 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package unused
 | |
| 
 | |
| //go:generate stringer -type edgeKind
 | |
| type edgeKind uint64
 | |
| 
 | |
| func (e edgeKind) is(o edgeKind) bool {
 | |
| 	return e&o != 0
 | |
| }
 | |
| 
 | |
| const (
 | |
| 	edgeAlias edgeKind = 1 << iota
 | |
| 	edgeBlankField
 | |
| 	edgeAnonymousStruct
 | |
| 	edgeCgoExported
 | |
| 	edgeConstGroup
 | |
| 	edgeElementType
 | |
| 	edgeEmbeddedInterface
 | |
| 	edgeExportedConstant
 | |
| 	edgeExportedField
 | |
| 	edgeExportedFunction
 | |
| 	edgeExportedMethod
 | |
| 	edgeExportedType
 | |
| 	edgeExportedVariable
 | |
| 	edgeExtendsExportedFields
 | |
| 	edgeExtendsExportedMethodSet
 | |
| 	edgeFieldAccess
 | |
| 	edgeFunctionArgument
 | |
| 	edgeFunctionResult
 | |
| 	edgeFunctionSignature
 | |
| 	edgeImplements
 | |
| 	edgeInstructionOperand
 | |
| 	edgeInterfaceCall
 | |
| 	edgeInterfaceMethod
 | |
| 	edgeKeyType
 | |
| 	edgeLinkname
 | |
| 	edgeMainFunction
 | |
| 	edgeNamedType
 | |
| 	edgeNetRPCRegister
 | |
| 	edgeNoCopySentinel
 | |
| 	edgeProvidesMethod
 | |
| 	edgeReceiver
 | |
| 	edgeRuntimeFunction
 | |
| 	edgeSignature
 | |
| 	edgeStructConversion
 | |
| 	edgeTestSink
 | |
| 	edgeTupleElement
 | |
| 	edgeType
 | |
| 	edgeTypeName
 | |
| 	edgeUnderlyingType
 | |
| 	edgePointerType
 | |
| 	edgeUnsafeConversion
 | |
| 	edgeUsedConstant
 | |
| 	edgeVarDecl
 | |
| )
 |