From 0fcbb2893eca48b9cf661e7ee82e8b94c89228b6 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Wed, 26 Apr 2017 23:15:10 +0000 Subject: Revert r301487: Replace HashString algorithm with xxHash64 This reverts commit r301487 to make buildbots green. llvm-svn: 301491 --- clang/test/SemaCXX/typo-correction-delayed.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'clang/test/SemaCXX/typo-correction-delayed.cpp') diff --git a/clang/test/SemaCXX/typo-correction-delayed.cpp b/clang/test/SemaCXX/typo-correction-delayed.cpp index 11d54006f3e..610d4397138 100644 --- a/clang/test/SemaCXX/typo-correction-delayed.cpp +++ b/clang/test/SemaCXX/typo-correction-delayed.cpp @@ -52,7 +52,6 @@ void testNoCandidates() { } class string {}; - struct Item { void Nest(); string text(); @@ -89,16 +88,12 @@ void f(LinkedNode *node) { struct NestedNode { NestedNode* Nest(); NestedNode* next(); - // Note, this test is dependent on the order in which identifiers are passed - // to the typo corrector, which is based on the hash function used. For - // consistency, I am making the next keyword the first identifier returned. - string eext() const; + string text() const; }; void f(NestedNode *node) { // There are two equidistant, usable corrections for Next: next and Nest NestedNode *next = node->Next(); // expected-error-re {{no member named 'Next' in 'initializerCorrections::NestedNode'{{$}}}} } - } namespace PR21669 { -- cgit v1.2.3