aboutsummaryrefslogtreecommitdiff
path: root/src/parseh.cpp
AgeCommit message (Collapse)Author
2016-02-01inline is a keyword instead of a directiveAndrew Kelley
2016-02-01add ?? prefix operatorAndrew Kelley
2016-02-01parseh understands macros which alias global fn ptr varsAndrew Kelley
2016-02-01parseh: do not create macro alias for extern varsAndrew Kelley
2016-01-31parseh: correct debug for forward declsAndrew Kelley
also C typedefs emit simply `const Foo = Bar;` since in C you can implicitly cast from a typedef child to parent but in zig you can't.
2016-01-31parseh handles typedef void betterAndrew Kelley
and introduce c_long_double type
2016-01-31parseh understands forward struct definitionsAndrew Kelley
See #88
2016-01-31parseh: use the decayed type not original typeAndrew Kelley
2016-01-31fix some parseh crashesAndrew Kelley
2016-01-31parseh understands types better and handles some situations betterAndrew Kelley
See #88 Also, includes partial implementation of typedef top level declaration. See #95 Also, fix function types. Previously the way we were deduping function type pointers was incorrect.
2016-01-29parseh properly ignores anonymous structsAndrew Kelley
and nodes get valid create_index values
2016-01-29parseh understands variable declarationsAndrew Kelley
and some initializers such as integers
2016-01-29parseh fix crashAndrew Kelley
2016-01-29parseh defines can reference other definesAndrew Kelley
2016-01-29parseh understands number literal definesAndrew Kelley
2016-01-29parseh understands simple character literal macroAndrew Kelley
2016-01-28attempt to get preprocessor entities from libclangAndrew Kelley
I'm pretty sure it's impossible, the API does not expose the macro expansion value and the source location points to the macro's name, not its value.
2016-01-28parseh understands bodyless struct used in fnAndrew Kelley
2016-01-28parseh handles self referential structs and fn pointersAndrew Kelley
2016-01-28parsh understands constant sized arraysAndrew Kelley
2016-01-28parseh understands elaborated structs and enumsAndrew Kelley
2016-01-28parseh understands simple structsAndrew Kelley
2016-01-28null pointer optimization for ?&TAndrew Kelley
this is necessary for the parseh change where all pointers from .h files are maybe pointers.
2016-01-28add parseh testsAndrew Kelley
2016-01-28parseh recognizes C enumsAndrew Kelley
2016-01-28parseh: add --c-import-warnings optionAndrew Kelley
2016-01-27c_import of stdio.h works for some functionsAndrew Kelley
See #88
2016-01-27move AST rendering code to separate fileAndrew Kelley
2016-01-27build command supports -isystem argumentAndrew Kelley
2016-01-27parseh: still produce output when not all types are knownAndrew Kelley
2016-01-27parseh correctly handles C's void typeAndrew Kelley
2016-01-27parseh: recognize typedef typesAndrew Kelley
and fix const qualifier on pointers
2016-01-27parseh works for simple functionsAndrew Kelley
2016-01-27upgrade to the libclang C++ APIAndrew Kelley
c_import creates a tmp .h file and parses it with libclang, reporting any errors found. See #88
2016-01-18Revert "delete parseh"Andrew Kelley
This reverts commit 18374ea8f18b6b48c53e6e7bd23d536ac2e8a807.
2016-01-15delete parsehAndrew Kelley
we'll have to switch to the clang C++ api anyway we'll revive this code later
2015-12-14instead of *mut and *const, & and &constAndrew Kelley
closes #33
2015-12-14add number literal typeAndrew Kelley
it gets implicitly casted to whatever is needed. closes #24
2015-12-09parseh: cleanup typesAndrew Kelley
2015-12-09ability to call external variadic functionsAndrew Kelley
2015-12-08parseh: better results for stdio.hAndrew Kelley
2015-12-08parseh: add c header filesAndrew Kelley
2015-12-04parseh: fix wrong fn parameters in some casesAndrew Kelley
2015-12-03exporting .h file supports voidAndrew Kelley
2015-12-03more C header interoperabilityAndrew Kelley
2015-12-03parseh: detect fixed size integer typesAndrew Kelley
2015-12-03parseh command, parses a C .h file and produces extern declsAndrew Kelley