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 #5107

Open
wants to merge 136 commits into
base: master
Choose a base branch
from

Commits on Aug 15, 2024

  1. Member-wise constructor generation with visibility control

    NOTE: This is a draft
    
    Key Changes:
    1. Initializer lists call into constructors (and no longer hack around per element)
    2. we auto-generate member-wise constructors for varying visibility of members (public, public-internal, public-internal-private)
    3. Implements visibility and member-wise constructor rules described in shader-slang#3406
    4. Reorders and reformats how we auto-generate constructors along with adding support for member-wise constructors ('visitStruct' and 'visitAggTypeDecl').
        * This was changed since currently Slang (if no constructors are found) falls back to initializer list syntax for non initializer list constructor code. Since we add a non-default-ctor this fallback logic never happens causing failures now.
    5. initialization-list logic for struct objects has been reordered and reformatted due to previous logical incompatibilities.
    ArielG-NV committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    40f0cbe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce554c3 View commit details
    Browse the repository at this point in the history
  3. fix bug which causes crash

    ArielG-NV committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    ceb70c4 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'initializer-list-visibility' of https://github.com/Arie…

    …lG-NV/slang into initializer-list-visibility
    ArielG-NV committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    6df637d View commit details
    Browse the repository at this point in the history
  5. git merge fix

    ArielG-NV committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    0110058 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a1b1c50 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0dca495 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'initializer-list-visibility' of https://github.com/Arie…

    …lG-NV/slang into initializer-list-visibility
    ArielG-NV committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    44de3d4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bab4c9f View commit details
    Browse the repository at this point in the history
  10. Fixes

    1. fix breaking tests which cannot be fixed by adding 'old style slang array init-list syntax' support, specifically for constructing a struct without an explicit '{}'
    2. clean up tests
    ArielG-NV committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    d82d68b View commit details
    Browse the repository at this point in the history
  11. fix bug and incorrect test

    1. resolve generics which are associated to a struct instance during init list evaluation
    2. fix autodiff test with incorrect init-list
    ArielG-NV committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    892016a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5755c0a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f6d5bd3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    251314e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    045e27a View commit details
    Browse the repository at this point in the history
  16. Merge branch 'initializer-list-visibility' of https://github.com/Arie…

    …lG-NV/slang into initializer-list-visibility
    ArielG-NV committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    6d50283 View commit details
    Browse the repository at this point in the history
  17. Revert "init expr with default ctor is now more restrictive due to cu…

    …rrent limitations."
    
    Revert because it will break code, instead just check more generally for 0, if we don't want the "everything does an 'init'" logic this can be changes later.
    ArielG-NV committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    4c36d3a View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. try removing null default-ctor construction logic due to causing fail…

    …iures
    
    remove all null default-ctor's like before, instead though redesign the hacky overload resolution into ctor such that it works:
    1. resolveInvoke properly culls useless overloads
    2. This stops spirious generation of empty init's (side-effect if we generate a real ctor)
    3. This stops lots of warnings since we don't have a ctor that init's nothing
    ArielG-NV committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    cbe95fb View commit details
    Browse the repository at this point in the history
  2. undo some code removal

    ArielG-NV committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    f8bf220 View commit details
    Browse the repository at this point in the history
  3. make a few additions/changes to init list logic:

    1. allow a more formalized init-list logic for flattened init-lists's
    2. fixing invalid tests
    ArielG-NV committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    1e7819a View commit details
    Browse the repository at this point in the history
  4. remove unused var

    ArielG-NV committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    1e4ec35 View commit details
    Browse the repository at this point in the history
  5. cleanup some tests, logic and auto-documentation code

    1. clean-up documentation tests 2. fix recursive type crash with uninitialized value checks 3. fully disallow synth object printing rather than partially for auto-documentation code.
    ArielG-NV committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    95e719d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    04f7177 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b3d18c7 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    67c9d29 View commit details
    Browse the repository at this point in the history
  2. clang/gcc compiler warning

    ArielG-NV committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    7476962 View commit details
    Browse the repository at this point in the history
  3. cyclic type solution

    ArielG-NV committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    78feed6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    98cd3b3 View commit details
    Browse the repository at this point in the history
  5. fix bit fields

    ArielG-NV committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    a788a53 View commit details
    Browse the repository at this point in the history
  6. fix no_diff and trySynthesizeDifferentialAssociatedTypeRequirementWit…

    …ness bug
    
    Adding 2 things:
    1. add no_diff to synth'ed ctor if param is no_diff
    2. Fix bug where DifferentialType 'ownedScope' is not setup to track the associated contained (causes 'ThisExpr' to resolve incorrectly)
    ArielG-NV committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    ff905ae View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Fix how auto-diff code is auto-generated by synthed ctor's

    member-wise synth'ed ctor's (to match how they worked when used in an init-list) check for differentiability of a member and per-member assigns no_diff appropriately.
    ArielG-NV committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    89e1339 View commit details
    Browse the repository at this point in the history
  2. remove debug code

    ArielG-NV committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    4aced6e View commit details
    Browse the repository at this point in the history
  3. Expand on automatic auto-diff modifier resolution

    needed to add additional inheritance-decl 'ensureDecl' to ensure we have derivative member modifiers setup correctly for correct derivative modifier annotation.
    ArielG-NV committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    8771a3b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    26908f5 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    75a1e7d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    465e07c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    906f439 View commit details
    Browse the repository at this point in the history
  4. clean-up

    ArielG-NV committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    f26ea60 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'initializer-list-visibility' of https://github.com/Arie…

    …lG-NV/slang into initializer-list-visibility
    ArielG-NV committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    bded32e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5b02019 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c6acffc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3e558d7 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'initializer-list-visibility' of https://github.com/Arie…

    …lG-NV/slang into initializer-list-visibility
    ArielG-NV committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    6bb3906 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    fd7999f View commit details
    Browse the repository at this point in the history
  2. auto-diff fix

    ArielG-NV committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    36ec8ce View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    8b2cbb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d88849c View commit details
    Browse the repository at this point in the history
  3. Merge branch 'initializer-list-visibility' of https://github.com/Arie…

    …lG-NV/slang into initializer-list-visibility
    ArielG-NV committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    df421c5 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    01274fb View commit details
    Browse the repository at this point in the history
  2. fix warning

    ArielG-NV committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c9b7080 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83af023 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    969dff4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5840d91 View commit details
    Browse the repository at this point in the history
  6. change order of visiting

    ArielG-NV committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    dcd9081 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7b3fd31 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    b1395e1 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'initializer-list-visibility' of https://github.com/Arie…

    …lG-NV/slang into initializer-list-visibility
    ArielG-NV committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    b2ce412 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23039c9 View commit details
    Browse the repository at this point in the history
  4. fix syntax err

    ArielG-NV committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    c9221ea View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f55254a View commit details
    Browse the repository at this point in the history
  6. allow {} inside __init()

    ArielG-NV committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    d948c75 View commit details
    Browse the repository at this point in the history
  7. fix compile error

    ArielG-NV committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    cd1a46c View commit details
    Browse the repository at this point in the history
  8. fix another warning

    ArielG-NV committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    4403ede View commit details
    Browse the repository at this point in the history
  9. auto-infer generic from the base-struct type with `constructZeroInitL…

    …istFunc`; fix cudaHostModfiier assignment
    ArielG-NV committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    99088c3 View commit details
    Browse the repository at this point in the history
  10. fix a test

    ArielG-NV committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    24f8c45 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    25138e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93af3db View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c026b07 View commit details
    Browse the repository at this point in the history
  4. add defaults to syth'ed ctor's under special situations to allow c-st…

    …yle-partial-initializers
    ArielG-NV committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    915b0b8 View commit details
    Browse the repository at this point in the history
  5. fix warning

    ArielG-NV committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    31c1e46 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7fe2413 View commit details
    Browse the repository at this point in the history
  7. handle shouldUseInitializerDirectly differently to work better with…

    … 'partial-initializer-lists', disable incorrect warning (will need to look into it)
    ArielG-NV committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c270055 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'initializer-list-visibility' of https://github.com/Arie…

    …lG-NV/slang into initializer-list-visibility
    ArielG-NV committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c883af4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    de1bc55 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Configuration menu
    Copy the full SHA
    4f6a343 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06eea82 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9086f7e View commit details
    Browse the repository at this point in the history
  4. fix partial init list bug

    ArielG-NV committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    bac6c31 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'initializer-list-visibility' of https://github.com/Arie…

    …lG-NV/slang into initializer-list-visibility
    ArielG-NV committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    759a709 View commit details
    Browse the repository at this point in the history
  6. fix the bug correctly*

    ArielG-NV committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    fb8588e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e5d3c6a View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. Merge branch 'master' of https://github.com/ArielG-NV/slang into init…

    …ializer-list-visibility
    ArielG-NV committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    05d8fd8 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. fix some simple problems

    1. problem with dxil causing infinite loop (slang-ir.cpp, slang-ir-specialize-resources.cpp)
    
    2. hlsl.meta so it doesn't use a limitation of generics that cause a crash (hlsl.meta.slang)
    ArielG-NV committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    39bd24d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9a9035 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f6b1b4a View commit details
    Browse the repository at this point in the history
  4. fix possible cyclic ref & change _emitDefaultConstruct so it cannot…

    … emit invalid struct-value
    ArielG-NV committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    b7654d4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d5c7e16 View commit details
    Browse the repository at this point in the history
  6. fix var check order

    ArielG-NV committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    6ea9950 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5712dbb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4956257 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8af50a8 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    bb3fa44 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    561a9f7 View commit details
    Browse the repository at this point in the history
  3. changes:

    1. move $ZeroInit definition to same pass as other functions
    ArielG-NV committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    763055b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d3a6604 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1281459 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    964c3e5 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    0e5e5ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    997d1f0 View commit details
    Browse the repository at this point in the history
  3. fix merge error

    ArielG-NV committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    6d40ddc View commit details
    Browse the repository at this point in the history
  4. fix up wittness table fufillment:

    Currently if we have a wrapped type we skip wittness table fufillment checks and try to synth an item incorrectly every-time. This is done to avoid `lookupMember()` checking inheritanceDecl's.
    
    Since 2 levels of inheritance is not very common this caused no issues thus far.
    
    The changes of this PR is to just lookup using `LookupOptions::IgnoreInheritance`
    ArielG-NV committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    a73795b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    afa8812 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f56d34a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7df745d View commit details
    Browse the repository at this point in the history
  8. try to fix more interface (and such) issues with reordering declarati…

    …ons & bodies of automatic-ctor-generation
    ArielG-NV committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    2177db4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    989837f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c135f85 View commit details
    Browse the repository at this point in the history
  11. remove one of the backup-overload-resolution-hack-cases that was adde…

    …d + `SemanticsDeclConformancesVisitor::visitAggTypeDecl` cleanup
    ArielG-NV committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    7312af1 View commit details
    Browse the repository at this point in the history
  12. fix incorrect overload candidate resolution

    fix incorrect overload candidate resolution to allow AssocType to function with StructDecl resolution.
    ArielG-NV committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    92ed12a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6056e40 View commit details
    Browse the repository at this point in the history
  14. address autodiff failiures

    1. fix auto-diff issues that cause incorrect `no_diff` error when Slang should not error
    2. change when Slang applies to auto-gen parameters `no_diff` to be more correct/accurate
    ArielG-NV committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    1164d27 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. fix crash

    ArielG-NV committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    37e788e View commit details
    Browse the repository at this point in the history
  2. fix vectors to parse correctly with {...}, change tests to dxil t…

    …o better report compile failiures with hlsl
    ArielG-NV committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    6587a3f View commit details
    Browse the repository at this point in the history
  3. remove unused func

    ArielG-NV committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    f5bbca0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d37593a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2b4bb0d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    56b343b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    efbca49 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ba3a91d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    22bf6f6 View commit details
    Browse the repository at this point in the history
  10. fix warning

    ArielG-NV committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    852bbc3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ddf061d View commit details
    Browse the repository at this point in the history
  12. fix incorrect test

    ArielG-NV committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    af2ef09 View commit details
    Browse the repository at this point in the history
  13. cleanup code & comments

    ArielG-NV committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    e2cc233 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c0e59e8 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    2682128 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    bb22fa2 View commit details
    Browse the repository at this point in the history
  2. fix easy comments

    kaizhangNV committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    5401494 View commit details
    Browse the repository at this point in the history
  3. refactor _getDefaultCtor

    kaizhangNV committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    39268d6 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Configuration menu
    Copy the full SHA
    5771007 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89d221c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d966b3f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    69cb426 View commit details
    Browse the repository at this point in the history
  5. Replace the name '_tryToSpecialCaseOverloadDefaultConstructWithoutIni…

    …t' to '_tryOverloadWithDefaultInit'
    
    This function just tried to resolve a problem that
    struct S {int x};
    S s = S();
    
    We will try to overload `S()` with synthesized default initializer.
    Because there is no such function with signature of "S S()".
    kaizhangNV committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    2b6f7a2 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    1861df4 View commit details
    Browse the repository at this point in the history
  2. DNS: Modify all the tests that does not have empty initializer

    This commit will be reverted when the initializer list re-work
    is done.
    
    This is just to unblock the test failure when we're in the middle
    ground.
    kaizhangNV committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    fde9141 View commit details
    Browse the repository at this point in the history