luaclang-parser
luaclang-parser copied to clipboard
Lua binding for libclang, the Clang compiler API to access the AST of C/C++ source files
add method isConst add type get spelling
Hello. This works nicely in OSX. I need function body. How can I get also CompoundStmt?
In the example: cindex.lua, when a function header like: int five(void); The code.db will not show anything about it. Here is my patch for the suspected bug: function processFunction(func) DBG('=>',...
I get build errors: ``` [100%] Building CXX object CMakeFiles/luaclang-parser.dir/luaclang-parser.cpp.o /home/justin/lua/luaclang-parser/luaclang-parser.cpp: In function ‘void pushDiagnostic(lua_State*, CXDiagnostic)’: /home/justin/lua/luaclang-parser/luaclang-parser.cpp:70:57: error: ‘clang_getDiagnosticCategoryText’ was not declared in this scope /home/justin/lua/luaclang-parser/luaclang-parser.cpp: In function ‘int l_parseTU(lua_State*)’:...