[LLVMdev] LLVMContextImpl.h not installed?
Duncan P. N. Exon Smith
dexonsmith at apple.com
Mon Apr 6 21:31:22 PDT 2015
> On 2015-Mar-28, at 09:02, Alexander Poddey <alexander.poddey at gmx.net> wrote:
>
> Hi all,
>
> I 'd like to fetch a list of structures, and found that it could be done
> via
> LLVMContextImpl *pImpl = Context.pImpl;
> pImpl->AnonStructTypes
>
> This however needs the inclusion of LLVMContextImpl.h, which is not
> contained in the includes dir, but in the lib/IR dir (next to the .cpp
> files) and is not installed under /usr/local/include...
>
> Whats the reason for this? Isn't it indended to be used?
> Should I access a list of available structures using other methods?
`pImpl` stands for "private implementation" here -- you're not really
supposed to access it.
I think what you're looking for is `llvm::TypeFinder`, which you can
get from:
#include "llvm/IR/TypeFinder.h"
More information about the llvm-dev
mailing list