-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Convert to enum class in src/inet #10504
Convert to enum class in src/inet #10504
Conversation
#### Problem Working toward project-chip#7715 Virtualize System and Inet interfaces #### Change overview - Convert `enum` to `enum class`, and use `BitFlags` for flag sets. - DNSResolver::State - IPAddressType - IPv6MulticastFlag - IPEndPointBasis::State - TCPEndPoint::State - Rename `kMaxIPAddressStringLength` to `IPAddress::kMaxStringLength` #### Testing CI; no changes to functionality intended.
Split off from PR #10450 Pending consensus, keeping the |
PR #10504: Size comparison from 05f1974 to 819451b 1 build
19 builds
2 builds
12 builds
|
PR #10504: Size comparison from 05f1974 to 5da011d Increases above 1.0% from 5da011d to 05f1974:
16 builds
6 builds
2 builds
10 builds
|
PR #10504: Size comparison from 05f1974 to 1fa1b6f Increases above 1.0% from 1fa1b6f to 05f1974:
22 builds
12 builds
|
PR #10504: Size comparison from 1c0ded5 to e024cd8 1 build (for telink)
10 builds (for linux, mbed)
|
PR #10504: Size comparison from 7c7e5c7 to 49e69b5 8 builds (for k32w, p6, qpg, telink)
12 builds (for efr32, linux)
2 builds (for mbed)
2 builds (for esp32)
10 builds (for nrfconnect)
|
PR #10504: Size comparison from b51852b to fd9f32a 8 builds (for k32w, p6, qpg, telink)
14 builds (for efr32, linux, mbed)
10 builds (for nrfconnect)
2 builds (for esp32)
|
Size increase report for "esp32-example-build" from b51852b
Full report output
|
Problem
Working toward #7715 Virtualize System and Inet interfaces
Change overview
enum
toenum class
, and useBitFlags
for flag sets.kMaxIPAddressStringLength
toIPAddress::kMaxStringLength
Testing
CI; no changes to functionality intended.