1
- .. Copyright 2011-2012, 2017 David Malcolm <[email protected] >
2
- Copyright 2011-2012, 2017 Red Hat, Inc.
1
+ .. Copyright 2011-2012, 2017-2018 David Malcolm <[email protected] >
2
+ Copyright 2011-2012, 2017-2018 Red Hat, Inc.
3
3
4
4
This is free software: you can redistribute it and/or modify it
5
5
under the terms of the GNU General Public License as published by
@@ -88,7 +88,7 @@ Locations
88
88
(:py:class: `gcc.Location `) The start location of this range.
89
89
In the above example, the start is on the opening parenthesis.
90
90
91
- .. py :attribute :: start
91
+ .. py :attribute :: finish
92
92
93
93
(:py:class: `gcc.Location `) The finish location of this range.
94
94
In the above example, the finish is on the closing parenthesis.
@@ -98,6 +98,10 @@ Locations
98
98
Wrapper around GCC's `rich_location `, representing one or more locations
99
99
within the source code, and zero or more fix-it hints.
100
100
101
+ .. note ::
102
+
103
+ gcc.RichLocation is only available from GCC 6 onwards
104
+
101
105
.. method :: add_fixit_replace(self, new_content)
102
106
103
107
Add a fix-it hint, suggesting replacement of the content covered
0 commit comments