Address post-commit review comments regarding test_workarounds.h
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@298566 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -11,10 +11,10 @@
|
|||||||
|
|
||||||
// Verify TEST_WORKAROUND_C1XX_BROKEN_NULLPTR_CONVERSION_OPERATOR.
|
// Verify TEST_WORKAROUND_C1XX_BROKEN_NULLPTR_CONVERSION_OPERATOR.
|
||||||
|
|
||||||
#include "test_workarounds.h"
|
|
||||||
|
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
|
#include "test_workarounds.h"
|
||||||
|
|
||||||
struct ConvertsToNullptr {
|
struct ConvertsToNullptr {
|
||||||
using DestType = decltype(nullptr);
|
using DestType = decltype(nullptr);
|
||||||
operator DestType() const { return nullptr; }
|
operator DestType() const { return nullptr; }
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// -*- C++ -*-
|
// -*- C++ -*-
|
||||||
//===---------------------------- test_macros.h ---------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
//
|
//
|
||||||
// The LLVM Compiler Infrastructure
|
// The LLVM Compiler Infrastructure
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user