summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/typo-correction-delayed.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-04-26 23:15:10 +0000
committerRui Ueyama <ruiu@google.com>2017-04-26 23:15:10 +0000
commit0fcbb2893eca48b9cf661e7ee82e8b94c89228b6 (patch)
tree45cee92f4a9f55957a65d3a1155f7284b992c636 /clang/test/SemaCXX/typo-correction-delayed.cpp
parente5ad2986fc5b70bc11acad820165997e32f0d95b (diff)
downloadbcm5719-llvm-0fcbb2893eca48b9cf661e7ee82e8b94c89228b6.tar.gz
bcm5719-llvm-0fcbb2893eca48b9cf661e7ee82e8b94c89228b6.zip
Revert r301487: Replace HashString algorithm with xxHash64
This reverts commit r301487 to make buildbots green. llvm-svn: 301491
Diffstat (limited to 'clang/test/SemaCXX/typo-correction-delayed.cpp')
-rw-r--r--clang/test/SemaCXX/typo-correction-delayed.cpp7
1 files changed, 1 insertions, 6 deletions
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 {
OpenPOWER on IntegriCloud