From 2d430f902d72b8a1d3bc036a80273ca80af1e338 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Thu, 28 Jan 2021 15:14:46 -0800 Subject: [PATCH] ADT: Fix typo in static assert message from 17c584551d573f1693990773e29fbe6b4b6fa4f4 --- llvm/unittests/ADT/IntrusiveRefCntPtrTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/unittests/ADT/IntrusiveRefCntPtrTest.cpp b/llvm/unittests/ADT/IntrusiveRefCntPtrTest.cpp index 6ba02ac..0123709d 100644 --- a/llvm/unittests/ADT/IntrusiveRefCntPtrTest.cpp +++ b/llvm/unittests/ADT/IntrusiveRefCntPtrTest.cpp @@ -115,7 +115,7 @@ static_assert(!std::is_convertible &&, "X&& -> Z should be rejected with SFINAE"); static_assert(!std::is_convertible &, IntrusiveRefCntPtr>::value, - "cosnt X& -> Z should be rejected with SFINAE"); + "const X& -> Z should be rejected with SFINAE"); static_assert( !std::is_convertible, IntrusiveRefCntPtr>::value, "X -> Z should be rejected with SFINAE"); -- 2.7.4