This is an archive of the discontinued LLVM Phabricator instance.

[libc][NFC] Fix some issues with LIBC_INLINE
ClosedPublic

Authored by abrachet on Jun 13 2023, 3:40 PM.

Details

Summary

We define LIBC_INLINE to include [[clang::internal_linkage]], and these
must appear before other specifiers. Additionally, there was also a
missing cast that was causing warnings.

Diff Detail

Event Timeline

abrachet created this revision.Jun 13 2023, 3:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 13 2023, 3:40 PM
abrachet requested review of this revision.Jun 13 2023, 3:40 PM
This revision is now accepted and ready to land.Jun 14 2023, 1:27 AM
This revision was landed with ongoing or failed builds.Jun 14 2023, 7:09 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2023, 7:09 AM