aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
AgeCommit message (Collapse)Author
2016-02-07add debug info for loop variablesAndrew Kelley
closes #112
2016-02-06implement %defer and ?deferAndrew Kelley
see #110
2016-02-06codegen: return respects unconditional deferAndrew Kelley
See #110
2016-02-06simple unconditional defer supportAndrew Kelley
See #110
2016-02-05parsing code for defer and moreAndrew Kelley
* disable goto and label support see #44 * refactor the way block contexts work
2016-02-05add nonnull to functions with pointer return typeAndrew Kelley
2016-02-05codegen: use gen_index for nonnull attributeAndrew Kelley
also put nonnull on sret params closes #82
2016-02-05Added code for generating nonnull attributesrealazthat
2016-02-04switch trap in debug mode when no prong foundAndrew Kelley
2016-02-04support variable in switch expression prongsAndrew Kelley
See #43
2016-02-04no namespace required when switching on enumAndrew Kelley
See #43
2016-02-04codegen: fix switch expressions for enums with payloadsAndrew Kelley
2016-02-04fix debug info for bool typeAndrew Kelley
2016-02-04ability to explicitly cast bool to intAndrew Kelley
2016-02-04for loop supports break and continueAndrew Kelley
See #51
2016-02-04implement constant values for enums with payloadAndrew Kelley
2016-02-04allow defining errors with the same nameAndrew Kelley
they get the same value, too.
2016-02-03fix running tests when linking with libcAndrew Kelley
2016-02-03add ability to call function pointer fieldAndrew Kelley
also introduce the self hosted tests closes #108
2016-02-03test runner prints test namesAndrew Kelley
2016-02-03basic support for building a test targetAndrew Kelley
2016-02-03fix debug symbols for byval argumentsAndrew Kelley
2016-02-03add @compile_var("is_release")Andrew Kelley
2016-02-03types sized and aligned with LLVM target data layout APIAndrew Kelley
2016-02-02add @compile_var builtin and "is_big_endian" compile varAndrew Kelley
2016-02-02fix crash when incomplete struct used as argumentAndrew Kelley
closes #107
2016-02-02build: fix libc path findingAndrew Kelley
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