A managed wrapper for Clang.
C C++ C# Objective-C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Dependencies/Clang
Source
.gitignore
Build.bat
Build.msbuild
Clang.sln
License.txt
README.markdown

README.markdown

Clang.Net

A managed wrapper for clang.

Documentation

Fully supported

  • String manipulation routines (transparent handling)
  • Traversing the AST with cursors
  • C++ AST introspection
  • File manipulation routines
  • Physical source locations

Partially supported

  • Cursor manipulations
  • Translation unit manipulation
  • Mapping between cursors and source code
  • Diagnostic reporting
  • Type information for CXCursors

TODO

  • Higher level API functions (Indexing)

  • Token extraction and manipulation

  • Information for attributes

  • Cross-referencing in the AST

  • Debugging facilities

  • Miscellaneous utility functions

  • Remapping functions

  • implement CXDiagnosticSet wrapper

  • FixIts support

NOT IMPLEMENTED YET

And not yet planned because not part of my intended use:

  • Code completion

Dependencies

C-Runtime. In order to load the libclang.dll, this specific C Run-Time is needed

.NET 4. Is required to run the wrapper.

An alternative is to recompile llvm + clang using the runtime of your choice.