Skip to content

Refactor SWITCH_TYPES macro to take a single macro argument.#2710

Open
copybara-service[bot] wants to merge 1 commit intomasterfrom
test_901438706
Open

Refactor SWITCH_TYPES macro to take a single macro argument.#2710
copybara-service[bot] wants to merge 1 commit intomasterfrom
test_901438706

Conversation

@copybara-service
Copy link
Copy Markdown

Refactor SWITCH_TYPES macro to take a single macro argument.

The SWITCH_TYPES macro in FieldTypes.h has been updated to accept a single TYPE_MACRO argument instead of three separate macros. All existing usages of SWITCH_TYPES passed the same macro for all three arguments, making the three-argument version unnecessary. This change simplifies the macro definition and its call sites.

The SWITCH_TYPES macro in FieldTypes.h has been updated to accept a single TYPE_MACRO argument instead of three separate macros. All existing usages of SWITCH_TYPES passed the same macro for all three arguments, making the three-argument version unnecessary. This change simplifies the macro definition and its call sites.

PiperOrigin-RevId: 901438706
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants