[libcxx-commits] [PATCH] D96786: <ciso646> should provide defines for alternative operator representations
Yuriy Chernyshov via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 16 06:59:36 PST 2021
georgthegreat created this revision.
georgthegreat added a reviewer: ldionne.
georgthegreat requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
MSVC does not provide builtin support for alternative operator representations <https://en.cppreference.com/w/cpp/language/operator_alternative>.
Instead, their `#include <сiso646>` includes <https://github.com/microsoft/STL/blob/main/stl/inc/ciso646> `iso646.h`, which contains preprocessor definitions for these terms.
Generally, people, even LLVM project itself <https://github.com/llvm/llvm-project/blob/main/llvm/lib/DebugInfo/GSYM/LookupResult.cpp> do not expect their code to be compiled agains libcxx on Windows. This PR makes `#include <ciso646>` and `#include <iso646.h>` equavalent.
rG LLVM Github Monorepo
@@ -16,9 +16,10 @@
#pragma GCC system_header
#endif // _LIBCPP_CISO646
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 334 bytes
Desc: not available
More information about the libcxx-commits