Skip to content

Instantly share code, notes, and snippets.

View EricWF's full-sized avatar

Eric EricWF

View GitHub Profile
Testing Time: 2469.81s
********************
Unexpected Passing Tests (1):
libc++ :: std/strings/c.strings/cuchar.pass.cpp
********************
Failing Tests (297):
libc++ :: libcxx/atomics/diagnose_invalid_memory_order.fail.cpp
libc++ :: libcxx/experimental/memory/memory.resource.global/global_memory_resource_lifetime.pass.cpp
libc++ :: libcxx/experimental/memory/memory.resource.global/new_delete_resource_lifetime.pass.cpp
libc++ :: libcxx/language.support/support.dynamic/new_faligned_allocation.sh.cpp
// -*- C++ -*-
//===-------------------------- memory ------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
WORKSPACE=$HOME/workspace
LIBCXX=$WORKSPACE/libcxx
BUILD_LIBCXX=$WORKSPACE/build-libcxx
LLVM=$WORKSPACE/llvm
LIT_EXE=$LLVM/utils/lit/lit.py
if [ -z "$LIBCXX_BUILD" ]; then
LIBCXX_BUILD=DEBUG
fi
if [ -z "$LIBCXX_INSTALL" ]; then
LIBCXX_INSTALL=/usr/local
Index: gcc/common.opt
===================================================================
--- gcc/common.opt (revision 245184)
+++ gcc/common.opt (working copy)
@@ -2928,6 +2928,9 @@
nostdlib
Driver
+nostdlibc++
+Driver
@EricWF
EricWF / test.cpp
Last active January 24, 2017 15:03
// C++03
template <bool Cond> void foo() { int cxx03_assertion[Cond ? 1 : -1]; }
// C++11
template <bool Cond> int foo() { static_assert(Cond, ""); return 0; }
// C++14
constexpr void foo(bool cond) { assert(cond); }
This file has been truncated, but you can view the full file.
lit.py: C:/Users/Eric/workspace/libcxx/test/lit.cfg:45: note: Using configuration variant: libcxx
lit.py: C:\Users\Eric\workspace\libcxx\test\libcxx\test\config.py:208: note: inferred cxx_under_test as: 'C:\\LLVM\\bin\\clang++.EXE'
lit.py: C:\Users\Eric\workspace\libcxx\test\libcxx\test\config.py:955: note: inferred target_triple as: 'i686-pc-windows-msvc'
lit.py: C:\Users\Eric\workspace\libcxx\test\libcxx\test\config.py:282: note: inferred use_system_cxx_lib as: False
lit.py: C:\Users\Eric\workspace\libcxx\test\libcxx\test\config.py:313: note: inferred use_clang_verify as: True
lit.py: C:\Users\Eric\workspace\libcxx\test\libcxx\test\config.py:321: note: enabling thread-safety annotations
lit.py: C:\Users\Eric\workspace\libcxx\test\libcxx\test\config.py:430: note: inferred language dialect as: c++1z
lit.py: C:\Users\Eric\workspace\libcxx\test\libcxx\test\config.py:485: note: using the system cxx headers
lit.py: C:\Users\Eric\workspace\libcxx\test\libcxx\test\target_info.py:66: warning: The locale en_US.UTF-8
Testing Time: 7071.26s
********************
Unexpected Passing Tests (1):
libc++ :: std/strings/c.strings/cuchar.pass.cpp
********************
Failing Tests (215):
libc++ :: libcxx/double_include.sh.cpp
libc++ :: libcxx/language.support/support.dynamic/new_faligned_allocation.sh.cpp
libc++ :: libcxx/localization/locales/locale.convenience/conversions/conversions.string/ctor_move.pass.cpp
********************
Testing Time: 2187.32s
********************
Unexpected Passing Tests (1):
libc++ :: std/strings/c.strings/cuchar.pass.cpp
********************
Failing Tests (238):
libc++ :: libcxx/localization/locales/locale.convenience/conversions/conversions.string/ctor_move.pass.cpp
libc++ :: libcxx/thread/futures/futures.promise/set_exception.pass.cpp
@EricWF
EricWF / updated_patch.patch
Created December 30, 2016 11:30
updated patch
diff --git a/include/algorithm b/include/algorithm
index 189991e..66b1ece 100644
--- a/include/algorithm
+++ b/include/algorithm
@@ -2070,2021 +2070,2021 @@ generate(_ForwardIterator __first, _ForwardIterator __last, _Generator __gen)
// generate_n
template <class _OutputIterator, class _Size, class _Generator>
inline _LIBCPP_INLINE_VISIBILITY
_OutputIterator
@EricWF
EricWF / example.cpp
Last active December 27, 2016 19:14
Fixed Size container example
using ValueType = /* ... */
// An allocator type which allocates from a fixed sized buffer provided upon construction.
// max_size() reports the number of elements which can be allocated in the remaining buffer space.
using Alloc = BufferAllocator<ValueType>;
// Any STL container.
using Container = std::container<ValueType, ..., Alloc>;
// node_storage_type is an extension I wish to propose which exposes the size and alignment