This is an archive of the discontinued LLVM Phabricator instance.

Explicitly set C++ standard for `Posix/no-fd.cc` ASan test.
ClosedPublic

Authored by delcypher on Jan 14 2019, 8:02 AM.

Details

Summary

The test uses nullptr which can break running the test if the
compiler happens to be using something older than C++11 as the default
language standard. Avoid this by explicitly setting the standard.

rdar://problem/47253542

Event Timeline

delcypher created this revision.Jan 14 2019, 8:02 AM
Herald added subscribers: Restricted Project, kubamracek. · View Herald TranscriptJan 14 2019, 8:02 AM
delcypher edited the summary of this revision. (Show Details)Jan 14 2019, 8:39 AM
eugenis accepted this revision.Jan 14 2019, 3:21 PM

LGTM

This revision is now accepted and ready to land.Jan 14 2019, 3:21 PM
delcypher retitled this revision from Explicitly set C++ standard fo `Posix/no-fd.cc` ASan test. to Explicitly set C++ standard for `Posix/no-fd.cc` ASan test..Jan 15 2019, 12:56 AM
This revision was automatically updated to reflect the committed changes.