Skip to content

Remove unused field descriptor argument from CGPToReflectionType functions.#2712

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

Remove unused field descriptor argument from CGPToReflectionType functions.#2712
copybara-service[bot] wants to merge 1 commit intomasterfrom
test_900358216

Conversation

@copybara-service
Copy link
Copy Markdown

Remove unused field descriptor argument from CGPToReflectionType functions.

The CGPToReflectionType helper functions in Descriptors_PackagePrivate.h no longer take a CGPFieldDescriptor argument, as it was not used in most type conversions. The enum conversion and CGPEnumGetIntValue now use the getValueDescriptor method on the enum value instead of unsightly pointer math.

…tions.

The CGPToReflectionType helper functions in Descriptors_PackagePrivate.h no longer take a CGPFieldDescriptor argument, as it was not used in most type conversions. The enum conversion and CGPEnumGetIntValue now use the getValueDescriptor method on the enum value instead of unsightly pointer math.

PiperOrigin-RevId: 900358216
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