Is there a way to programmatically identify Go Standard Library source 
files that are machine-generated files?

For example, consider this file: rewriteRISCV64.go 
<https://github.com/golang/go/blob/98d2717499575afe13d9f815d46fcd6e384efb0c/src/cmd/compile/internal/ssa/rewriteRISCV64.go>
  
That is a long file that doesn't represent programmer-written code.
The machine-generated files are fouling up a statistical study of Go idioms 
as written by programmers.

I'm planning on filtering out files that have these phrases:
"Code generated from"
"DO NOT EDIT"

Are there many files with machine-generated sections, or table literals?

-Ray





 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/574ca1aa-7342-484a-9e0f-a51495557f4a%40googlegroups.com.

Reply via email to