<div dir="ltr">I need to hook into parsing and codegen at a rather low level. On the parsing side, primarily I need to parse function bodies without their declaration, but there is a couple of other utilities I need, e.g. parsing plain type names. I also hook into parsing to make sure I can emit things<div>incrementally. On the codegen side, I need a bit more. I use CodeGenFunction to emit calls to C++ functions directly into my own IR and CodeGenModule to emit entire C++ definitions (which then get passed off to my own ExecutionEngine).</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 6, 2016 at 5:15 AM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Keno,<br>
<br>
Probably you'd need to describe what exactly you're using from these headers.<br>
<div><div class="h5"><br>
On Sat, Jun 4, 2016 at 10:19 PM, Keno Fischer via cfe-dev<br>
<<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br>
> Hi folks,<br>
><br>
> I'm trying to tidy up my clang-based C++ interface for julia<br>
> (<a href="https://github.com/Keno/Cxx.jl" rel="noreferrer" target="_blank">https://github.com/Keno/Cxx.jl</a>).<br>
> At the moment it uses a number of private clang headers and interface, so<br>
> I'm hoping to<br>
> either make those interfaces public upstream or refactor things to avoid<br>
> using those<br>
> interfaces. As a first step, there are a number of headers that are in lib/<br>
> as opposed to<br>
> include/ that I'm using, so I'd like to see what would be required to move<br>
> them there.<br>
> I know there's been a thread on this before, but I can't find it at the<br>
> moment.<br>
><br>
> Here's the list of headers in lib/ that I currently use<br>
><br>
> Sema/TypeLocBuilder.h<br>
> Parse/RAIIObjectsForParser.h<br>
> CodeGen/CodeGenModule.h<br>
> CodeGen/CodeGenTypes.h<br>
> CodeGen/CodeGenFunction.h<br>
> CodeGen/CGCXXABI.h<br>
><br>
> Would a patch to move these (and any others they may depend upon) to<br>
> include/<br>
> be acceptable?<br>
><br>
> Thanks,<br>
> Keno<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
With best regards, Anton Korobeynikov<br>
Department of Statistical Modelling, Saint Petersburg State University<br>
</font></span></blockquote></div><br></div>