ClangSwift icon indicating copy to clipboard operation
ClangSwift copied to clipboard

A Swift wrapper for the libclang C API (version 4.0.x)

Results 7 ClangSwift issues
Sort by recently updated
recently updated
newest added

Hi, Thank you for sharing this project. I'm learning so much from this project! 😄 This PR just adds the `struct FriendDecl` for the `CXCursor_FriendDecl` type cursor.

### Summary This PR adds the `CompilationDatabase` and `CompileCommand` functions of the clang. It is used to load build information from the `compile_commands.json` generated by the cmake project. The `CompilationDatabase`...

This is particularly useful when creating standalone executables. Generated Xcode project doesn't support this AFAICS, but `swift build` handles it just right.

I ran brew install with tool chain llvm and I still get "'clang-c/Platform.h' file not found". Not sure if I am missing a step.

When a translation unit is created with a default `Index`. It gets freed from memory. This causes many functions to fail like `clang_reparseTranslationUnit`.

Three ways you could address this: - Minimal: in the README, say that if I want to read the docs I need to check out the REPO and look at...