[libcxx] r298566 - Address post-commit review comments regarding test_workarounds.h
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 22 17:48:59 PDT 2017
Author: ericwf
Date: Wed Mar 22 19:48:59 2017
New Revision: 298566
URL: http://llvm.org/viewvc/llvm-project?rev=298566&view=rev
Log:
Address post-commit review comments regarding test_workarounds.h
Modified:
libcxx/trunk/test/support/test.workarounds/c1xx_broken_nullptr_conversion_operator.pass.cpp
libcxx/trunk/test/support/test_workarounds.h
Modified: libcxx/trunk/test/support/test.workarounds/c1xx_broken_nullptr_conversion_operator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/test.workarounds/c1xx_broken_nullptr_conversion_operator.pass.cpp?rev=298566&r1=298565&r2=298566&view=diff
==============================================================================
--- libcxx/trunk/test/support/test.workarounds/c1xx_broken_nullptr_conversion_operator.pass.cpp (original)
+++ libcxx/trunk/test/support/test.workarounds/c1xx_broken_nullptr_conversion_operator.pass.cpp Wed Mar 22 19:48:59 2017
@@ -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; }
Modified: libcxx/trunk/test/support/test_workarounds.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/test_workarounds.h?rev=298566&r1=298565&r2=298566&view=diff
==============================================================================
--- libcxx/trunk/test/support/test_workarounds.h (original)
+++ libcxx/trunk/test/support/test_workarounds.h Wed Mar 22 19:48:59 2017
@@ -1,5 +1,5 @@
// -*- C++ -*-
-//===---------------------------- test_macros.h ---------------------------===//
+//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
More information about the cfe-commits
mailing list