[cfe-dev] [RFC] Captured Statements
Pan, Wei
wei.pan at intel.com
Wed Jan 30 14:20:29 PST 2013
What would be preferred if adding a new statement? Some previous commits seemly did not increase CINDEX_VERSION_MINOR or MAJOR.
Thanks!
Wei Pan
-----Original Message-----
From: Sean Silva [mailto:silvas at purdue.edu]
Sent: Wednesday, January 30, 2013 4:46 PM
To: Dmitri Gribenko
Cc: Pan, Wei; Alexey Bataev; clang-dev Developers
Subject: Re: [cfe-dev] [RFC] Captured Statements
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-commits
mailing list