commit | f6b5fec32ccaef6ccdd3dae0f6f7472988915475 | [log] [tgz] |
---|---|---|
author | Markus Böck <markus.boeck02@gmail.com> | Tue Nov 30 09:13:02 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Nov 30 00:16:26 2021 -0800 |
tree | 1c8412b5f713481b8293699e77bbeb80eb3b4803 | |
parent | 30bcd0ad025d1f117e41873cd211c74621a1d3cd [diff] |
[PR52549][clang-cl] Predefine _MSVC_EXECUTION_CHARACTER_SET Since VS 2022 17.1 MSVC predefines _MSVC_EXECUTION_CHARACTER_SET to inform the users of the execution character set defined at compile time. The value the macro expands to is a Windows Code Page Identifier which are documented here: https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers As clang currently only supports UTF-8 it is defined as 65001. If clang-cl were to support a different execution character set in the future we'd have to change the value. Fixes https://bugs.llvm.org/show_bug.cgi?id=52549 Differential Revision: https://reviews.llvm.org/D114576 GitOrigin-RevId: 7ba70d32736aef0c640b9d0e7b9081fc208c81c2