User Details
- User Since
- Aug 22 2023, 6:17 AM (14 w, 6 h)
Oct 3 2023
Sep 30 2023
Sep 29 2023
Sep 28 2023
@aaron.ballman
Do I need to make changes other than this? The virtual base diagnostic doesn't have a test case in files that would generate it. Should I add the above example as the test case?
Sep 26 2023
Sep 19 2023
@aaron.ballman
why the member is not an constexpr can be seen from getNumVBases(). The 'defaultedSpecialMemberIsConstexpr' returns false whenever getVNumBases is true for this so we can use that to identify when to give which error diagnostic.
Can you verify whether this would work or is there any problem with this. I haven't uploaded the diff yet
Sep 11 2023
Code:
struct Base { constexpr Base() = default; }; struct Derived : virtual Base { constexpr Derived() = default; };
Sep 5 2023
Aug 31 2023
@aaron.ballman
This error gets generated on test cases even when a struct/class as no virtual base class.
see this example on here: example
Aug 30 2023
No, I don't have code examples that showcase the importance of the note. As you said the class context would be obvious whenever we run into this error.
The test files also don't show where the note would be helpful.
@xgupta the build is successful now. Earlier it failed due to format issues.
Aug 29 2023
Aug 27 2023
@xgupta It passed the test cases now
I figured it out and changed the test files.
How am I supposed to update tests? I am new to this. I get the files on which the tests fail but how do I update them
Aug 24 2023
The pre-commit checks passed now when I built again. Looking into test for this now