Emit constexpr-initialized fields as candidates for exclusion.
After this CL, the rewriter will detect fields that are initialized with non-nullptr value in constexpr constructors. Such fields will be emitted as candidates for exclusion via --exclude-fields cmdline parameter. This CL should help ensure that the build is successful, once we stop excluding |const char* fields| from the rewrite. In particular, performance_manager::PriorityAndReason::reason_ field needs to be excluded in practice. Additionally, this CL should help to automate excluding of the various base::FeatureParam fields/scenarios (they are currently covered via manual-fields-to-ignore.txt). Bug: 1069567 Change-Id: I122a329577f77d8172e26f189b5155af742a33c2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2495719 Auto-Submit: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#820840}
Showing
Please register or sign in to comment