Go to file
Stephan T. Lavavej 04576cc060 [libcxx] [test] Improve MSVC portability.
test/support/msvc_stdlib_force_include.hpp
When testing MSVC's STL with C1XX, simulate a couple more compiler feature-test macros.

When testing MSVC's STL, simulate a few library feature-test macros.

test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp
The vector_size attribute is a non-Standard extension that's supported by Clang and GCC,
but not C1XX. Therefore, guard this with `__has_attribute(vector_size)`.

Additionally, while these tests pass when MSVC's STL is compiled with Clang,
I don't consider this to be a supported scenario for our library,
so also guard this with defined(_LIBCPP_VERSION).

test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp
N4713 23.14.10 [func.not_fn]/1 depicts only `call_wrapper(call_wrapper&&) = default;`
and `call_wrapper(const call_wrapper&) = default;`. According to
15.8.2 [class.copy.assign]/2 and /4, this makes call_wrapper non-assignable.
Therefore, guard the assignability tests as libc++ specific.

Add a (void) cast to tolerate not_fn() being marked as nodiscard.

Fixes D41213.

llvm-svn: 322144
2018-01-10 00:39:46 +00:00
clang Reland "Emit Function IDs table for Control Flow Guard" 2018-01-09 23:49:30 +00:00
clang-tools-extra Try to fix build failure caused by r322097 2018-01-09 20:26:49 +00:00
compiler-rt o -fsanitize=function warning when calling noexcept function through non-noexcept pointer in C++17 2018-01-05 07:57:24 +00:00
debuginfo-tests [debuginfo-tests] Support moving debuginfo-tests to llvm/projects 2017-12-12 16:54:20 +00:00
libclc configure.py: Add gfx900 (Vega, Raven) 2017-11-27 11:14:06 +00:00
libcxx [libcxx] [test] Improve MSVC portability. 2018-01-10 00:39:46 +00:00
libcxxabi Update version to 7.0.0svn 2018-01-03 15:42:34 +00:00
libunwind [libunwind][MIPS]: Rename Registers_mips_n64 to Registers_mips_newabi. 2018-01-09 17:07:18 +00:00
lld [WebAssembly] Output functions individually 2018-01-09 23:56:44 +00:00
lldb This change updates the deployment target for lldb and debugserver 2018-01-09 22:17:10 +00:00
llgo
llvm [llvm-readobj] Consistent use of ScopedPrinter 2018-01-10 00:14:19 +00:00
openmp Fix type mismatch in omp_control_tool() implementation that makes it run incorrectly on 32-bit machines. 2018-01-09 10:54:06 +00:00
parallel-libs
polly Docs, release notes: update version to 7.0.0 2018-01-03 15:54:54 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.