This is an archive of the discontinued LLVM Phabricator instance.

libcxx: Rename vasprintf function to __libcpp_vasprintf.
ClosedPublic

Authored by pcc on Jan 22 2018, 6:54 PM.

Details

Summary

The language standard does not define a function with this name,
so it is part of the user's namespace. This change fixes a duplicate
symbol error that occurs when a user attempts to define a function
with this name.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Jan 22 2018, 6:54 PM
mclow.lists accepted this revision.Jan 23 2018, 10:22 AM

This looks fine to me.

This revision is now accepted and ready to land.Jan 23 2018, 10:22 AM
This revision was automatically updated to reflect the committed changes.