aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
AgeCommit message (Collapse)Author
2016-02-02codegen: ?? prefix operator causes trap in debug modeAndrew Kelley
2016-02-02unreachable causes a trap in debug modeAndrew Kelley
2016-02-01codegen: avoid table lookup for field accessAndrew Kelley
closes #74
2016-02-01codegen: avoid table lookup in assembly expressionAndrew Kelley
2016-02-01codegen: avoid a table lookupAndrew Kelley
2016-02-01inline is a keyword instead of a directiveAndrew Kelley
2016-02-01optimization: avoid codegening unused functionsAndrew Kelley
2016-02-01add ?? prefix operatorAndrew Kelley
2016-02-01parseh understands macros which alias global fn ptr varsAndrew Kelley
2016-01-31codegen: fix negation for floatsAndrew Kelley
2016-01-31support casting between floatsAndrew Kelley
2016-01-31support casting between int and float typesAndrew Kelley
2016-01-31fix C interaction with maybe function pointersAndrew Kelley
See #88
2016-01-31add --library-path cli optionAndrew Kelley
2016-01-31parseh handles typedef void betterAndrew Kelley
and introduce c_long_double type
2016-01-31codegen extern global variables correctlyAndrew 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-28ability to call member functions directlyAndrew Kelley
see #14
2016-01-28ability to refer to member function directlyAndrew Kelley
See #14
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-27move AST rendering code to separate fileAndrew Kelley
2016-01-27build command supports -isystem argumentAndrew Kelley
2016-01-27fix `%%` prefix operator codegen for simple valuesAndrew Kelley
closes #93
2016-01-27fix codegen for pointers to voidAndrew Kelley
2016-01-27add explicit cast from isize/usize to pointerAndrew Kelley
closes #91
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-26add c_import top level declAndrew Kelley
see #88
2016-01-26different extern syntax and simplify parsing top level declsAndrew Kelley
2016-01-25add the C integer typesAndrew Kelley
2016-01-25implement compile time string concatenationAndrew Kelley
See #76
2016-01-25codegen: get rid of cur_block_contextAndrew Kelley
2016-01-25implement %% prefix operatorAndrew Kelley
See #23 also make undefined constants use llvm undef value
2016-01-25implement %% operatorAndrew Kelley
See #23
2016-01-24update std lib to use error type and global variablesAndrew Kelley
2016-01-24support the `%return` expressionAndrew Kelley
2016-01-24fix parameter access of sret functionsAndrew Kelley
2016-01-24ability to return structs byvalue from functionsAndrew Kelley
closes #57
2016-01-24fix number literal implicit castAndrew Kelley
2016-01-24introduce the error keyword and typeAndrew Kelley
See #23
2016-01-23main returns %voidAndrew Kelley
2016-01-23codegen: fix field access of arraysAndrew Kelley
also fix error type analyze error
2016-01-23implement literal error valuesAndrew Kelley
See #23
2016-01-23fix no error emitted for redeclaring global varAndrew Kelley
closes #81
2016-01-22character literal returns a number literalAndrew Kelley
2016-01-22implement undefined literalAndrew Kelley
2016-01-22add undefined literalAndrew Kelley
2016-01-22support statically initialized array literalAndrew Kelley
2016-01-22un-special case constant global stringsAndrew Kelley
2016-01-22support statically initialized structsAndrew Kelley
2016-01-22implicit casts rewrite the ASTAndrew Kelley