Add Location.is_none and fix loc_of_attributes
Location.is_none provides a means to check whether a given location is
none for all supported compiler versions (as the none location changed).
We then use this is loc_of_attributes to correctly pick-up none-located,
compiler attributes like documentation comments.
Signed-off-by: Patrick Ferris <patrick@sirref.org>
139d7e
-
Dec 08 10:38 +00:00