This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] Modify language.support tests so they pass or are UNSUPPORTED with c++03.
AbandonedPublic

Authored by EricWF on Oct 23 2014, 8:23 PM.

Details

Summary

A couple of misc test changes so they work with <= c++03.

Diff Detail

Event Timeline

EricWF updated this revision to Diff 15378.Oct 23 2014, 8:23 PM
EricWF retitled this revision from to [libcxx] Modify language.support tests so they pass or are UNSUPPORTED with c++03..
EricWF updated this object.
EricWF edited the test plan for this revision. (Show Details)
EricWF added reviewers: mclow.lists, danalbert, jroelofs.
EricWF added a subscriber: Unknown Object (MLST).
EricWF added inline comments.Oct 23 2014, 9:46 PM
test/depr/depr.c.headers/stdarg_h.pass.cpp
18–22

va_copy is not defined until c++11.

test/language.support/support.start.term/quick_exit.pass.cpp
11

quick_exit was added in c++11.

test/language.support/support.types/nullptr_t.pass.cpp
57

The c++03 nullptr is only convertible to pointers and bool. This appears to be what the standard suggests. However it is not an integral type so it can't be reinterpret cast to a signed integer.

EricWF abandoned this revision.Nov 18 2014, 3:44 PM

Abandoning and splitting the patch into its relevant parts.