[llvm-dev] Using "opaque pointers" right now?
Tim Northover via llvm-dev
llvm-dev at lists.llvm.org
Wed Dec 18 07:35:46 PST 2019
On Wed, 18 Dec 2019 at 15:30, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> I happened to look at this a while ago, and it seems to me that
> removing the deprecated Create* functions and getPointerElementType as
> early as possible is a good idea since it cannot be done mechanically,
> is often quite painful (introducing architectural concerns even!), and
> as long as those functions exist (without explicitly being labelled
> with LLVM_ATTRIBUTE_DEPRECATED), there's a risk of new uses of them
> being introduced.
I definitely agree. I had to tidy up quite a bit of new Clang code
that had been put in since I last worked on it when rebasing. I think
the earliest we could do it realistically would be after the January
branch, and that's what I proposed in the RFC I posted.
More information about the llvm-dev