This is an archive of the discontinued LLVM Phabricator instance.

[libc][NFC] Another round of replacement of "inline" with "LIBC_INLINE".
ClosedPublic

Authored by sivachandra on Jan 24 2023, 2:33 PM.

Diff Detail

Event Timeline

sivachandra created this revision.Jan 24 2023, 2:33 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 24 2023, 2:33 PM
sivachandra requested review of this revision.Jan 24 2023, 2:33 PM
michaelrj added inline comments.Jan 24 2023, 2:40 PM
libc/src/__support/OSUtil/linux/syscall.h
26

do we want to keep the always_inline attribute?

sivachandra added inline comments.Jan 24 2023, 3:06 PM
libc/src/__support/OSUtil/linux/syscall.h
26

I don't think we need it. At sufficient optimization levels, just the inline tag is sufficient.

This revision is now accepted and ready to land.Jan 24 2023, 3:57 PM