[cfe-dev] Reflection/metaparsing implem

James Y Knight via cfe-dev cfe-dev at lists.llvm.org
Mon Nov 11 13:01:01 PST 2019


On Mon, Nov 11, 2019 at 3:03 PM David Blaikie via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> I think that'd still be a pretty hard sell - Clang's APIs and AST are
> volatile & intentionally so. People writing against the Clang APIs
> themselves with things like clang-tidy are aware of that. If we sold this
> as a feature to general C++ users, I don't think there would be a way to
> sufficiently communicate how volatile this will be - and end up backing
> ourselves into a corner & limiting the ability to change Clang.
>

Does Clang's AST API _need_ to be unstable in order to keep up with
language changes, or is it just a convenience? Is this concern indicative
of problems that a standardized AST API would also have, or is unique to
Clang's current API?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20191111/40abceec/attachment.html>


More information about the cfe-dev mailing list