3

I have used Roslyn to create syntax trees for C# and Vb files. Now I have to create syntax tree for a C++ file. I am not sure if Roslyn can help me here.

So my question is Does Roslyn support C++?

If Not then any other reference for the same?

I have found this ref. http://clang.llvm.org/doxygen/group__CINDEX.html but it will be great if Roslyn can help me here.

Thanks

Gurmeet
  • 3,094
  • 4
  • 19
  • 43

1 Answers1

0

Roslyn is only C# and VB.net compiler as a service. There is an extension for F#, and I don't know if there is any for c++/cli. If you are looking only for C++, but not for the C++/CLI then libclang should perform well here.

unsafePtr
  • 1,591
  • 2
  • 17
  • 27