Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1000 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 1000 Bytes

libclang

PkgGoDev

libclang is a Go library, providing a means to parse a compilation unit with libclang, and walk the unit's Cursors.

usage

See the Go docs for the package. There are some minimal examples in the _example directory.

pre-requisites

The clang dev package (with header files) needs to be installed.

# rpm-based distros
[sudo] dnf install clang-devel

# apt-based distros
[sudo] apt install clang-dev

developing the library

pre-commit hook