forked from OSchip/llvm-project
Address post-commit review comments regarding test_workarounds.h
llvm-svn: 298566
This commit is contained in:
parent
a9fdb346db
commit
351d2c36ef
|
@ -11,10 +11,10 @@
|
|||
|
||||
// Verify TEST_WORKAROUND_C1XX_BROKEN_NULLPTR_CONVERSION_OPERATOR.
|
||||
|
||||
#include "test_workarounds.h"
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
#include "test_workarounds.h"
|
||||
|
||||
struct ConvertsToNullptr {
|
||||
using DestType = decltype(nullptr);
|
||||
operator DestType() const { return nullptr; }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// -*- C++ -*-
|
||||
//===---------------------------- test_macros.h ---------------------------===//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue