This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Add -std=c11 to attr-availability.c
ClosedPublic

Authored by justice_adams on Jan 15 2021, 2:37 PM.

Details

Summary

This test will fail with any toolchains that don't default to C11.

Adding this switch to the clang invocation in the test fixes the issue.

Diff Detail

Event Timeline

justice_adams requested review of this revision.Jan 15 2021, 2:37 PM
justice_adams created this revision.
dyung accepted this revision.Jan 15 2021, 2:44 PM
dyung added a subscriber: dyung.

lgtm

This revision is now accepted and ready to land.Jan 15 2021, 2:44 PM

@dyung I don't have commit access, would you mind commiting this for me ?

This revision was automatically updated to reflect the committed changes.