This is an archive of the discontinued LLVM Phabricator instance.

Refer to _LIBCPP_MSVC macro where applicable
ClosedPublic

Authored by kastiglione on Jan 6 2017, 11:51 AM.

Details

Summary

Replace preprocess conditions of defined(_MSC_VER) && !defined(__clang__) with
defined(_LIBCPP_MSVC).

No functional change.

Event Timeline

kastiglione retitled this revision from to Refer to _LIBCPP_MSVC macro where applicable.
kastiglione updated this object.
kastiglione added a subscriber: cfe-commits.
EricWF accepted this revision.Jan 6 2017, 12:05 PM
EricWF edited edge metadata.

LGTM. Although Ironically we can no longer support MSVC due to our use of #include_next which MSVC doesn't support.

utils/google-benchmark/include/benchmark/macros.h
28 ↗(On Diff #83396)

Please don't patch this file. It isn't actually part of libc++. It's just an import of Google Benchmark.

This revision is now accepted and ready to land.Jan 6 2017, 12:05 PM
kastiglione edited edge metadata.

Revert change to Google Benchmark

compnerd closed this revision.Feb 5 2017, 9:38 PM
compnerd edited edge metadata.

SVN r294171