This is an archive of the discontinued LLVM Phabricator instance.

[libc] Fix more inline definitions
ClosedPublic

Authored by mcgrathr on Jun 30 2023, 2:13 PM.

Details

Summary

Fix a bunch more instances of incorrect use of the static
keyword and missing use of LIBC_INLINE and LIBC_INLINE_VAR
macros. Note that even forward declarations and generic template
declarations must follow the prescribed patterns for libc code so
that they match every definition, all template specializations.

Diff Detail

Event Timeline

mcgrathr created this revision.Jun 30 2023, 2:13 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 30 2023, 2:13 PM
mcgrathr requested review of this revision.Jun 30 2023, 2:13 PM
Caslyn accepted this revision.Jun 30 2023, 2:23 PM
This revision is now accepted and ready to land.Jun 30 2023, 2:23 PM
This revision was landed with ongoing or failed builds.Jun 30 2023, 2:46 PM
This revision was automatically updated to reflect the committed changes.