diff options
author | Rui Ueyama <ruiu@google.com> | 2017-04-26 23:15:10 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-04-26 23:15:10 +0000 |
commit | 4deadfaaec8ed9547fa06d4011b7e158a628a770 (patch) | |
tree | fe44ebf04765e299f3e55eb928ebcfcf7946119f /test/SemaCXX/typo-correction-delayed.cpp | |
parent | 3670d2ef78fea4d7d5701092648022a21b977c16 (diff) |
Revert r301487: Replace HashString algorithm with xxHash64
This reverts commit r301487 to make buildbots green.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@301491 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/typo-correction-delayed.cpp')
-rw-r--r-- | test/SemaCXX/typo-correction-delayed.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/SemaCXX/typo-correction-delayed.cpp b/test/SemaCXX/typo-correction-delayed.cpp index 11d54006f3..610d439713 100644 --- a/test/SemaCXX/typo-correction-delayed.cpp +++ b/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 { |