This is an archive of the discontinued LLVM Phabricator instance.

[AST] Remove unused function removeLocalCVRQualifiers
ClosedPublic

Authored by kazu on May 26 2023, 9:25 PM.

Details

Summary

The last use was removed by:

commit 0eb06cb3aa2700508c20da28f22ff91e7b82a436
Author: Roy Jacobson <roi.jacobson1@gmail.com>
Date:   Tue Mar 14 21:25:54 2023 +0200

Diff Detail

Event Timeline

kazu created this revision.May 26 2023, 9:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 26 2023, 9:25 PM
kazu requested review of this revision.May 26 2023, 9:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 26 2023, 9:25 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
kazu added reviewers: royjacobson, aaron.ballman, Restricted Project, cor3ntin.May 26 2023, 9:26 PM
This revision is now accepted and ready to land.May 27 2023, 2:39 AM
This revision was landed with ongoing or failed builds.May 27 2023, 10:29 AM
This revision was automatically updated to reflect the committed changes.

Since this is part of the public API, do we need to publish/alert folks of this? This could perhaps be in use by someone using libclang/etc, right?

kazu added a comment.May 30 2023, 9:39 PM

Since this is part of the public API, do we need to publish/alert folks of this? This could perhaps be in use by someone using libclang/etc, right?

I don't think we guarantee the API stability. For the *C* API, this is clearly documented:

https://llvm.org/docs/DeveloperPolicy.html#c-api-changes

There has been an effort to document something similar about the C++ API:

https://lists.llvm.org/pipermail/llvm-dev/2020-July/143613.html

but I don't know exactly what happened to it.

Since this is part of the public API, do we need to publish/alert folks of this? This could perhaps be in use by someone using libclang/etc, right?

I don't think we guarantee the API stability. For the *C* API, this is clearly documented:

https://llvm.org/docs/DeveloperPolicy.html#c-api-changes

There has been an effort to document something similar about the C++ API:

https://lists.llvm.org/pipermail/llvm-dev/2020-July/143613.html

but I don't know exactly what happened to it.

We try to keep the C API as stable as we can, but the C++ API is fair game to change as we need to. If someone runs into an issue where they need this functionality, they can let us know what their needs are and we can evaluate from there.