This is an archive of the discontinued LLVM Phabricator instance.

scudo: Replace a couple of macros with their expansions.
ClosedPublic

Authored by pcc on Nov 27 2019, 9:58 AM.

Details

Summary

The macros INLINE and COMPILER_CHECK always expand to the same thing (inline
and static_assert respectively). Both expansions are standards compliant C++
and are used consistently in the rest of LLVM, so let's improve consistency
with the rest of LLVM by replacing them with the expansions.

Diff Detail

Event Timeline

pcc created this revision.Nov 27 2019, 9:58 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 27 2019, 9:58 AM
Herald added subscribers: Restricted Project, jfb. · View Herald Transcript
cryptoad accepted this revision.Nov 27 2019, 10:09 AM

Thanks!

This revision is now accepted and ready to land.Nov 27 2019, 10:09 AM

Build result: pass - 60353 tests passed, 0 failed and 732 were skipped.

Log files: console-log.txt, CMakeCache.txt

This revision was automatically updated to reflect the committed changes.