Address post-commit review comments regarding test_workarounds.h

llvm-svn: 298566
This commit is contained in:
Eric Fiselier 2017-03-23 00:48:59 +00:00
parent a9fdb346db
commit 351d2c36ef
2 changed files with 3 additions and 3 deletions

View File

@ -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; }

View File

@ -1,5 +1,5 @@
// -*- C++ -*-
//===---------------------------- test_macros.h ---------------------------===//
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//