[cfe-dev] [RFC] Captured Statements

Sean Silva silvas at purdue.edu
Wed Jan 30 13:46:23 PST 2013


On Wed, Jan 30, 2013 at 4:35 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> +  CXCursor_LastStmt                      = CXCursor_ExampleCapturedStmt,
>
> Please bump CINDEX_VERSION_MINOR.

This would violate minor version semantics (at least for most
versioning schemes; idk which one we officially use). This change is
not backwards compatible e.g. if a header declares

extern int arr[CXCursor_LastStmt];

then code compiled against this version will read off the end of the
array which was compiled with a previous minor version.

-- Sean Silva



More information about the cfe-dev mailing list