brave-core#25810 [CodeHealth] Use `constexpr` strings
State: merged 2024-10-04 · created · closed · updated · discovered via path:components/brave_wallet/browser/zcash
CI/run-network-audit needs-security-review feature/web3/wallet feature/web3/wallet/core puLL-Merge
This PR changes moves away from uses of const char with two approaches. For .cc files, these types are turned into constexpr ones, which gives the compiler more leeway for optimisations. For the constants on header files, we are converting these instances to inline constexpr, in order to also reduce string duplication across the binary. This change was generated with a tool. Resolves Submitter Checklist: - [ ] I confirm that no security/privacy review is needed and no other…
Timeline (3 of 8 events)
- 2024-10-04 17:01 Merged
masterby bridiver - 2024-10-04 17:01 Closed by bridiver
- 2024-10-04 17:01 Milestone set
1.72.x - Nightlyby github-actions