[LLVMdev] Is it possible to convert C++ code to C++/CX code via a plugin of clang?
陳韋任 (Wei-Ren Chen)
chenwj at iis.sinica.edu.tw
Thu Jun 7 20:13:44 PDT 2012
CC'ed to clang ML. You can post clang question on clang ML. :-)
On Thu, Jun 07, 2012 at 06:23:15PM +0800, yangzhi0104 at sohu.com wrote:
> Hello Guys,
>
> I am developing a plugin of clang and hope it can convert some C++ functions to
> C++/CX wrapper classes for WinRT system. If so, it would do a lot of work
> automatically.
>
> Now I have been somewhere. Using clang libraries, I could fetch the elements of
> C++ code for example, return type, function name, parameter list and others.
> Should I inherit "clang::Decl" to express C++/CX elements like Objective-C
> does?
>
> I think if I want to output C++/CX code using clang, I should inherit some
> classes in CodeGen. Should I do this? Or is it possible to be done in a plugin?
>
> Could you help me?
>
> Thank you,
> Jeffrey.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
More information about the llvm-dev
mailing list