Skip some scenarios via blocklist, rather than unconditionally.
After this CL, the rewriter will no longer unconditionally skip fields in the following scenarios: - Overlapping fields (e.g. |SomeClass *field1, *field2;|). - Char pointer fields (e.g. |char* field| or |wchar_t* field|) - Fields expanding in macro scratch space Instead, the rewriter will emit such fields as candidates for the --field-filter-file blocklist - in the following section of the output: ==== BEGIN FIELD FILTERS ==== MyStruct::const_char_ptr # char MacroTest1::ptr_field # macro my_namespace::MyStruct::overlapping_1a # overlapping ==== END FIELD FILTERS ==== Bug: 1069567 Change-Id: If91b02d35a1239aff464e97493ae5cf930a759a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2213450 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#778581}
Showing
Please register or sign in to comment