This is an archive of the discontinued LLVM Phabricator instance.

Visual C++ doesn't support C99 compound literal
ClosedPublic

Authored by fsb4000 on Jul 16 2022, 12:47 AM.

Details

Reviewers
Mordante
Group Reviewers
Restricted Project
Commits
rG9aea9ab83dc0: Visual C++ doesn't support C99 compound literal
Summary

Fix test libcxx/test/std/containers/sequences/array/array.creation/to_array.pass.cpp

Diff Detail

Event Timeline

fsb4000 created this revision.Jul 16 2022, 12:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 16 2022, 12:47 AM
fsb4000 requested review of this revision.Jul 16 2022, 12:47 AM
Herald added a reviewer: Restricted Project. · View Herald TranscriptJul 16 2022, 12:47 AM
fsb4000 updated this revision to Diff 445210.Jul 16 2022, 2:05 AM

another try

fsb4000 updated this revision to Diff 445222.Jul 16 2022, 3:50 AM

use _MSVC_STL_VERSION

Mordante accepted this revision.Jul 16 2022, 10:27 AM
Mordante added a subscriber: Mordante.

Thanks again, LGTM!

This revision is now accepted and ready to land.Jul 16 2022, 10:27 AM
This revision was automatically updated to reflect the committed changes.