summary refs log tree commit diff stats
path: root/compiler/sizealignoffsetimpl.nim
diff options
context:
space:
mode:
authorJuan M Gómez <info@jmgomez.me>2023-05-17 10:44:42 +0100
committerGitHub <noreply@github.com>2023-05-17 11:44:42 +0200
commit02a10ec379d427f27f471d489247aa586078354b (patch)
tree8a92c0455785aa14320d8437a52691ee308451d8 /compiler/sizealignoffsetimpl.nim
parent1314ea75169b877f458e8b4eb1455d5f6428227b (diff)
downloadNim-02a10ec379d427f27f471d489247aa586078354b.tar.gz
Cpp Vfunctions draft (#21790)
* introduces virtual pragma, modifies proc def, prevents proc decl

* marks virtual procs as infix

* forward declare vfuncs inside the typedef

* adds naked callConv to virtual

* virtual proc error if not defined in the same top level scope as the type

* first param is now this. extracts genvirtualheaderproc

* WIP syntax

* supports obj. Removes the need for the prefix

* parameter count starts as this. Cleanup

* clean up

* sem tests

* adds integration tests

* uses constraint to store the virtual content

* introduces genVirtualProcParams

---------

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Diffstat (limited to 'compiler/sizealignoffsetimpl.nim')
0 files changed, 0 insertions, 0 deletions