HomePhabricator

[libc] Fix WrapperGen seeing no arguments as a void argument.

Authored by michaelrj on Nov 4 2020, 2:58 PM.

Description

[libc] Fix WrapperGen seeing no arguments as a void argument.

This corrects WrapperGen generating incorrect wrappers for functions
that take no arguments. Previously it would generate a wrapper with a
single argument of type void.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D90800

Details

Committed
michaelrjNov 5 2020, 11:13 AM
Reviewer
sivachandra
Differential Revision
D90800: [libc] Fix WrapperGen seeing no arguments as a void argument.
Parents
rG439b5bebafec: [gn build] (manually) port 82f86ae01 more
Branches
Unknown
Tags
Unknown