-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Stop generating attribute accessors for AttributeAccessInterface-only attributes. #26279
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
Merged
bzbarsky-apple
merged 1 commit into
project-chip:master
from
bzbarsky-apple:no-generating-useless-accessors
May 2, 2023
Merged
Stop generating attribute accessors for AttributeAccessInterface-only attributes. #26279
bzbarsky-apple
merged 1 commit into
project-chip:master
from
bzbarsky-apple:no-generating-useless-accessors
May 2, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e8dee4d to
e62787c
Compare
|
PR #26279: Size comparison from c1108d7 to e62787c Decreases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
e62787c to
d10436f
Compare
tcarmelveilleux
approved these changes
Apr 28, 2023
|
PR #26279: Size comparison from e4d000d to d10436f Increases (2 builds for bl602, bl702)
Decreases (3 builds for bl702, cc32xx)
Full report (23 builds for bl602, bl702, cc13x2_26x2, cc32xx, k32w, linux, mbed, nrfconnect, qpg)
|
d10436f to
f91587e
Compare
|
PR #26279: Size comparison from e4d000d to f91587e Decreases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
fessehaeve
approved these changes
Apr 28, 2023
… attributes. Those accessors can't work correctly and are just a bug waiting to happen if someone tries to use them. The code in the Infineon examples that did ManufacturingDate::Set was not really doing anything useful, since the attribute value is read from GetDeviceInstanceInfoProvider()->GetManufacturingDate() in the Basic Information cluster implementation anyway, ignoring the attribute store.
f91587e to
3036e76
Compare
|
PR #26279: Size comparison from 309e9f1 to 3036e76 Increases (1 build for bl602)
Decreases (2 builds for bl702)
Full report (9 builds for bl602, bl702, k32w, linux)
|
jtung-apple
approved these changes
May 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Those accessors can't work correctly and are just a bug waiting to happen if someone tries to use them.
Blocked on project-chip/zap#1008 for actually passing the ZAP codegen.