davidmalcolm / gcc-python-plugin

GCC plugin that embeds CPython inside the compiler
GNU General Public License v3.0
199 stars 58 forks source link

API inconsistency: .loc -vs- .location #70

Open davidmalcolm opened 7 years ago

davidmalcolm commented 7 years ago

I noticed recently that gcc.Gimple has a 'loc' attribute, but gcc.Declaration has a 'location' attribute. I think it would be better to use a single name everywhere.

davidmalcolm commented 7 years ago

Imported from trac issue 30. Created by tromey on 2012-01-23T09:09:09, last modified: 2012-01-23T09:09:09