Displaying 2 results from an estimated 2 matches for "addtypenametomodul".
Did you mean:
addtypenametomodule
2007 Sep 12
0
[LLVMdev] C interface
...y flavor instead?) Naming prefix is LLVM,
> which may be a bit long. (Would LL be better?)
LLVM seems fine to me, and the naming convention seems ok (using
lowercase + underscores makes the name longer). I do find things
like this slightly strange:
/* Same as Module::addTypeName. */
int AddTypeNameToModule(LLVMModuleRef M, const char *Name,
LLVMTypeRef Ty);
I'd expect it to be named something like "LLVMModuleAddTypeName" or
something, using NamespaceClassMethod uniformly.
> Pointers are opaque, obviously. I find myself copying enums, which
> is mildly scary.
Copying the...
2007 Sep 12
7
[LLVMdev] C interface
Hi all,
I'm authoring a C interface to the LLVM IR type system. Since this is
Really Quite Tedious, I would like to solicit opinions before I get
too far down any paths that seem offensive. I've attached the header,
where I've mapped a portion of Module and most of Type and its
subclasses. This is working, and I've built ocaml bindings on top of
it.[1] My intent is to