This is an archive of the discontinued LLVM Phabricator instance.

scudo: Replace ALIGNED macro with standard alignas specifier.
ClosedPublic

Authored by pcc on Apr 9 2020, 1:39 PM.

Details

Summary

alignas was introduced in C++11 and is already being used throughout LLVM.

Diff Detail

Event Timeline

pcc created this revision.Apr 9 2020, 1:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2020, 1:39 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
cryptoad accepted this revision.Apr 9 2020, 1:57 PM

Did you verify this works on Fuchsia by chance?

This revision is now accepted and ready to land.Apr 9 2020, 1:57 PM
pcc added a comment.Apr 9 2020, 2:11 PM

Did you verify this works on Fuchsia by chance?

No, and I deleted my Fuchsia checkout so I can't verify it easily. If the command line for compiling scudo (ninja -t commands | grep wrappers_c) contains -std={c,gnu}++11 or later it should work.

In D77823#1972938, @pcc wrote:

No, and I deleted my Fuchsia checkout so I can't verify it easily. If the command line for compiling scudo (ninja -t commands | grep wrappers_c) contains -std={c,gnu}++11 or later it should work.

No worries, I'll check it out shortly, shouldn't be a problem.

This revision was automatically updated to reflect the committed changes.