aboutsummaryrefslogtreecommitdiff
path: root/compiler/backend/ctrans.c
AgeCommit message (Expand)AuthorFilesLines
2020-08-16C backend: Use POSIX __assert_fail for assertions and include function nameSamuel Lidén Borell1-7/+38
2020-08-16Add "char" typeSamuel Lidén Borell1-1/+8
2020-08-16Fix types and compilation warning on 32-bit ARM and x86Samuel Lidén Borell1-0/+22
2020-07-17C backend: Fix translation of complex enumsSamuel Lidén Borell1-3/+29
2020-07-17C backend: Add tests of runtime expressions. Fix anon and stmt typedef enumsSamuel Lidén Borell1-1/+10
2020-07-14C backend: Don't output incomplete types. Fix detection in generic typesSamuel Lidén Borell1-8/+20
2020-07-13C backend: Fix translation of unbound type parameters inside arrays etc.Samuel Lidén Borell1-8/+6
2020-07-13C backend: Fix incorrect cast when extracting optional valueSamuel Lidén Borell1-1/+1
2020-07-13C backend: Fix translation of comparison of optional typesSamuel Lidén Borell1-34/+16
2020-07-05Add "with" to switch-case statement, to track which case was matchedSamuel Lidén Borell1-24/+103
2020-07-04C backend: Correctly break out of loops from switch-case statementsSamuel Lidén Borell1-6/+43
2020-07-03C interop: Update GCC/glibc's builtin functions/typesSamuel Lidén Borell1-5/+9
2020-06-29Constexpr: Handle constexprs referencing other constexprs properlySamuel Lidén Borell1-12/+33
2017-09-21C backend: Include LRL expression/filename/line in assert messagesSamuel Lidén Borell1-16/+62
2017-09-01Add various TODOs and commentsSamuel Lidén Borell1-0/+1
2017-08-29C backend: Fix possible problem with uninitialized identifiersSamuel Lidén Borell1-0/+2
2017-08-29Verifier: Fix typedef statements (typedefs inside functions)Samuel Lidén Borell1-2/+7
2017-08-28Add Makefile target to run clang-tidy, and fix most warningsSamuel Lidén Borell1-1/+1
2017-08-27Remove some castsSamuel Lidén Borell1-7/+6
2017-08-27C backend: Implement struct comparisonSamuel Lidén Borell1-12/+187
2017-08-23C backend: Fix allocation of temporaries in nested statementsSamuel Lidén Borell1-104/+186
2017-08-22C backend: Implement proper comparison between optional typesSamuel Lidén Borell1-41/+222
2017-08-21C backend: Fix wrong operand in comparison with noneSamuel Lidén Borell1-2/+2
2017-08-20C backend: Equals operation should be translated memcmp and not memcpySamuel Lidén Borell1-1/+1
2017-08-19C backend: Fix optional values in definitionsSamuel Lidén Borell1-1/+10
2017-08-19C backend: Correctly declare all temporaries for "for" loops over arraysSamuel Lidén Borell1-2/+4
2017-08-18Update copyright yearsSamuel Lidén Borell1-1/+1
2017-08-18C backend: Don't print anonymous types twiceSamuel Lidén Borell1-0/+5
2017-08-17C backend: Implement non-scalar switch statementSamuel Lidén Borell1-19/+100
2017-08-17C backend: Remove uninitialized and unneeded LRLIdentSamuel Lidén Borell1-2/+1
2017-08-16C backend: Implement makeopt operatorSamuel Lidén Borell1-9/+67
2017-08-13C backend: Implement array comparisonSamuel Lidén Borell1-3/+45
2017-08-13C backend: Factor out creation of pointer temporariesSamuel Lidén Borell1-30/+37
2017-08-12C backend: Assign non-scalar parametric types indirectly via a pointerSamuel Lidén Borell1-9/+47
2017-08-05C backend: Fix one out of many -Wcomma compiler warningsSamuel Lidén Borell1-1/+1
2016-04-23C backend: Fix syntax error in __has_builtinSamuel Lidén Borell1-2/+2
2016-04-23C backend: Use typerefs and implement translation of incomplete generic typesSamuel Lidén Borell1-140/+299
2016-04-17Parser: Add "unreachable" statementSamuel Lidén Borell1-0/+21
2016-04-16Add "assert" statementSamuel Lidén Borell1-1/+13
2016-04-11C backend: Don't print typedefs for structs/enums from an interopSamuel Lidén Borell1-4/+14
2016-02-28Add -Wshadow and fix warningsSamuel Lidén Borell1-2/+3
2016-02-28Verifier/C backend: Update commentsSamuel Lidén Borell1-10/+10
2016-02-27C backend: Allocate temporaries in "else if" alsoSamuel Lidén Borell1-2/+8
2016-02-27C backend: Handle comparisons with mixed signednessSamuel Lidén Borell1-67/+146
2016-02-23C backend: Allow using the value of assignment exprs with array typesSamuel Lidén Borell1-70/+131
2016-02-18C backend: Fix assignment of non-pointer none valuesSamuel Lidén Borell1-43/+95
2015-07-19C backend: Eliminate static variable (was used during internal errors only)Samuel Lidén Borell1-34/+38
2015-07-19C backend: fmodf() is from C99Samuel Lidén Borell1-1/+1
2015-07-19C backend: Remove some pointers in const initializersSamuel Lidén Borell1-14/+17
2015-07-19Ïmprove struct member ordering to minimize paddingSamuel Lidén Borell1-2/+2