diff options
author | Richard Dzenis <dzenis@richard.lv> | 2023-12-09 12:35:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-09 14:35:38 +0400 |
commit | b3e6ff331925dde24a4707452d657da0fdf7f588 (patch) | |
tree | 511e5170a9f536ed79f19bfaed390692d8d4f347 /llvm/tools/llvm-cov/SourceCoverageView.cpp | |
parent | b3000ecb3c165b7b14d997ee4ae96feed4e5e767 (diff) | |
download | llvm-b3e6ff331925dde24a4707452d657da0fdf7f588.zip llvm-b3e6ff331925dde24a4707452d657da0fdf7f588.tar.gz llvm-b3e6ff331925dde24a4707452d657da0fdf7f588.tar.bz2 |
[clang-cl] Add support for [[msvc::constexpr]] C++11 attribute (#71300)
This commit introduces support for the MSVC-specific C++11-style
attribute `[[msvc::constexpr]]`, which was introduced in MSVC 14.33.
The semantics of this attribute are enabled only under
MSVC compatibility (`-fms-compatibility-version`) 14.33 and higher.
Additionally, the default value of `_MSC_VER` has been raised to 1433.
The current implementation lacks support for:
- `[[msvc::constexpr]]` constructors (see #72149);
at the time of this implementation, such support would have required
an unreasonable number of changes in Clang.
- `[[msvc::constexpr]] return ::new` (constexpr placement new) from
non-std namespaces (see #74924).
Relevant to: #57696
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions