Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Member-wise constructor generation with visibility control #4854

Open
wants to merge 125 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
40f0cbe
Member-wise constructor generation with visibility control
ArielG-NV Aug 6, 2024
ce554c3
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 15, 2024
ceb70c4
fix bug which causes crash
ArielG-NV Aug 15, 2024
6df637d
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
ArielG-NV Aug 15, 2024
0110058
git merge fix
ArielG-NV Aug 15, 2024
a1b1c50
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 15, 2024
0dca495
fix default init expr with init expr paramDecl
ArielG-NV Aug 15, 2024
44de3d4
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
ArielG-NV Aug 15, 2024
bab4c9f
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 15, 2024
d82d68b
Fixes
ArielG-NV Aug 15, 2024
892016a
fix bug and incorrect test
ArielG-NV Aug 15, 2024
5755c0a
fix more tests with invalid init-lists
ArielG-NV Aug 15, 2024
f6d5bd3
fix swizzle causing a failiure with `checkExpr` to resolve an `Invoke`
ArielG-NV Aug 15, 2024
251314e
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 15, 2024
045e27a
init expr with default ctor is now more restrictive due to current li…
ArielG-NV Aug 15, 2024
6d50283
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
ArielG-NV Aug 15, 2024
4c36d3a
Revert "init expr with default ctor is now more restrictive due to cu…
ArielG-NV Aug 15, 2024
cbe95fb
try removing null default-ctor construction logic due to causing fail…
ArielG-NV Aug 16, 2024
f8bf220
undo some code removal
ArielG-NV Aug 16, 2024
1e7819a
make a few additions/changes to init list logic:
ArielG-NV Aug 16, 2024
1e4ec35
remove unused var
ArielG-NV Aug 16, 2024
95e719d
cleanup some tests, logic and auto-documentation code
ArielG-NV Aug 16, 2024
04f7177
add missing include (clang/gcc)
ArielG-NV Aug 16, 2024
b3d18c7
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 16, 2024
67c9d29
Clean up invalid tests, fix some bugs, add better use-site inference …
ArielG-NV Aug 19, 2024
7476962
clang/gcc compiler warning
ArielG-NV Aug 19, 2024
78feed6
cyclic type solution
ArielG-NV Aug 19, 2024
98cd3b3
include header that defines another function (whom is in a header).
ArielG-NV Aug 19, 2024
a788a53
fix bit fields
ArielG-NV Aug 19, 2024
ff905ae
fix no_diff and trySynthesizeDifferentialAssociatedTypeRequirementWit…
ArielG-NV Aug 19, 2024
89e1339
Fix how auto-diff code is auto-generated by synthed ctor's
ArielG-NV Aug 20, 2024
4aced6e
remove debug code
ArielG-NV Aug 20, 2024
8771a3b
Expand on automatic auto-diff modifier resolution
ArielG-NV Aug 20, 2024
26908f5
fix bug related to inheritance walking introduced
ArielG-NV Aug 20, 2024
75a1e7d
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 21, 2024
465e07c
cleanup and fix invalid test + refine auto-diff code
ArielG-NV Aug 21, 2024
906f439
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 21, 2024
f26ea60
clean-up
ArielG-NV Aug 21, 2024
bded32e
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
ArielG-NV Aug 21, 2024
5b02019
default construct structs without an initExpr (as per how Slang is su…
ArielG-NV Aug 21, 2024
c6acffc
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 21, 2024
3e558d7
redo reverse-addr-elim test properly without partial init
ArielG-NV Aug 21, 2024
6bb3906
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
ArielG-NV Aug 21, 2024
fd7999f
do not error if unexpected expr is found since this is not exactly 'w…
ArielG-NV Aug 22, 2024
36ec8ce
auto-diff fix
ArielG-NV Aug 22, 2024
8b2cbb4
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 26, 2024
d88849c
undo code which should not be apart of this PR
ArielG-NV Aug 26, 2024
df421c5
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
ArielG-NV Aug 26, 2024
01274fb
change when we zero-init to stay backwards compatible
ArielG-NV Aug 27, 2024
c9b7080
fix warning
ArielG-NV Aug 27, 2024
83af023
added a special zero-init function to handle `{}` case
ArielG-NV Aug 27, 2024
969dff4
fix inheritance with zero-init-list-func and add test
ArielG-NV Aug 27, 2024
5840d91
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 27, 2024
dcd9081
change order of visiting
ArielG-NV Aug 27, 2024
7b3fd31
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 27, 2024
b1395e1
add missing auto-diff modifiers
ArielG-NV Aug 28, 2024
b2ce412
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
ArielG-NV Aug 28, 2024
23039c9
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 28, 2024
c9221ea
fix syntax err
ArielG-NV Aug 28, 2024
f55254a
fix functor support regression
ArielG-NV Aug 28, 2024
d948c75
allow `{}` inside `__init()`
ArielG-NV Aug 28, 2024
cd1a46c
fix compile error
ArielG-NV Aug 28, 2024
4403ede
fix another warning
ArielG-NV Aug 28, 2024
99088c3
auto-infer generic from the base-struct type with `constructZeroInitL…
ArielG-NV Aug 28, 2024
24f8c45
fix a test
ArielG-NV Aug 28, 2024
25138e0
fix cyclic ref error for DefaultConstruct
ArielG-NV Aug 29, 2024
93af3db
dont make reg func a `()` wrapped func
ArielG-NV Aug 29, 2024
c026b07
fix visibility and type issue
ArielG-NV Aug 29, 2024
915b0b8
add defaults to syth'ed ctor's under special situations to allow c-st…
ArielG-NV Aug 29, 2024
31c1e46
fix warning
ArielG-NV Aug 29, 2024
7fe2413
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 29, 2024
c270055
handle `shouldUseInitializerDirectly` differently to work better with…
ArielG-NV Aug 29, 2024
c883af4
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
ArielG-NV Aug 29, 2024
de1bc55
test clean-up and additional test-case
ArielG-NV Aug 29, 2024
4f6a343
remove overload logic added, replace with simple solution of proper l…
ArielG-NV Aug 30, 2024
06eea82
1. Fix isCStyleCtor evaluation 2. update autodiff.slang test to moder…
ArielG-NV Aug 30, 2024
9086f7e
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 30, 2024
bac6c31
fix partial init list bug
ArielG-NV Aug 30, 2024
759a709
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
ArielG-NV Aug 30, 2024
fb8588e
fix the bug correctly*
ArielG-NV Aug 30, 2024
e5d3c6a
Merge branch 'master' into initializer-list-visibility
ArielG-NV Aug 30, 2024
05d8fd8
Merge branch 'master' of https://github.com/ArielG-NV/slang into init…
ArielG-NV Aug 31, 2024
39bd24d
fix some simple problems
ArielG-NV Sep 3, 2024
e9a9035
ignore undefined resource var's
ArielG-NV Sep 3, 2024
f6b1b4a
check IRNode exists before deallocating
ArielG-NV Sep 3, 2024
b7654d4
fix possible cyclic ref & change `_emitDefaultConstruct` so it cannot…
ArielG-NV Sep 3, 2024
d5c7e16
fix order of evaluation to prevent crash (not auto-diff fixes)
ArielG-NV Sep 3, 2024
6ea9950
fix var check order
ArielG-NV Sep 3, 2024
5712dbb
remove resource-spec change that is wrong
ArielG-NV Sep 3, 2024
4956257
remove failing test as per reccomendation (#4874)
ArielG-NV Sep 3, 2024
8af50a8
Merge branch 'master' into initializer-list-visibility
ArielG-NV Sep 3, 2024
bb3fa44
remove specialize fix, fix recursive init calls
ArielG-NV Sep 4, 2024
561a9f7
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
ArielG-NV Sep 4, 2024
763055b
changes:
ArielG-NV Sep 4, 2024
d3a6604
clean up not-needed changes
ArielG-NV Sep 4, 2024
1281459
clean up more unneeded overload logic
ArielG-NV Sep 4, 2024
964c3e5
change around how we define ctor and zeroInit to be more flexable
ArielG-NV Sep 4, 2024
0e5e5ba
heavily document and comment on this PR in-case it is handed off to a…
ArielG-NV Sep 5, 2024
997d1f0
Merge branch 'master' into initializer-list-visibility
ArielG-NV Sep 5, 2024
6d40ddc
fix merge error
ArielG-NV Sep 5, 2024
a73795b
fix up wittness table fufillment:
ArielG-NV Sep 5, 2024
afa8812
fix `_structHasMemberWithValue` logic
ArielG-NV Sep 5, 2024
f56d34a
fix bug in `_structHasMemberWithValue`
ArielG-NV Sep 5, 2024
7df745d
allow wittness through inheritance (I misread the code comments)
ArielG-NV Sep 5, 2024
2177db4
try to fix more interface (and such) issues with reordering declarati…
ArielG-NV Sep 5, 2024
989837f
try another balance of fixes
ArielG-NV Sep 5, 2024
c135f85
fix bug with checking for possible values in struct
ArielG-NV Sep 5, 2024
7312af1
remove one of the backup-overload-resolution-hack-cases that was adde…
ArielG-NV Sep 5, 2024
92ed12a
fix incorrect overload candidate resolution
ArielG-NV Sep 5, 2024
6056e40
Merge branch 'master' into initializer-list-visibility
ArielG-NV Sep 5, 2024
1164d27
address autodiff failiures
ArielG-NV Sep 5, 2024
37e788e
fix crash
ArielG-NV Sep 6, 2024
6587a3f
fix vectors to parse correctly with `{...}`, change tests to `dxil` t…
ArielG-NV Sep 6, 2024
f5bbca0
remove unused func
ArielG-NV Sep 6, 2024
d37593a
Merge branch 'master' into initializer-list-visibility
ArielG-NV Sep 6, 2024
2b4bb0d
use more accurate logic to resolve generics wrapped init-list logic
ArielG-NV Sep 6, 2024
56b343b
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
ArielG-NV Sep 6, 2024
efbca49
add old style init list support --> deprecated
ArielG-NV Sep 6, 2024
ba3a91d
fix now-invalid tests to be valid
ArielG-NV Sep 6, 2024
22bf6f6
Merge branch 'master' into initializer-list-visibility
ArielG-NV Sep 6, 2024
852bbc3
fix warning
ArielG-NV Sep 6, 2024
ddf061d
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
ArielG-NV Sep 6, 2024
af2ef09
fix incorrect test
ArielG-NV Sep 6, 2024
e2cc233
cleanup code & comments
ArielG-NV Sep 6, 2024
c0e59e8
clean up and cover all cases of `{...}` failiure so that we run legac…
ArielG-NV Sep 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading