[clang-tools-extra] r317673 - [clangd] loosen tests for flag-dependence revealed by r317670
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 8 01:15:02 PST 2017
Author: sammccall
Date: Wed Nov 8 01:15:01 2017
New Revision: 317673
URL: http://llvm.org/viewvc/llvm-project?rev=317673&view=rev
Log:
[clangd] loosen tests for flag-dependence revealed by r317670
Modified:
clang-tools-extra/trunk/test/clangd/completion-snippet.test
clang-tools-extra/trunk/test/clangd/completion.test
Modified: clang-tools-extra/trunk/test/clangd/completion-snippet.test
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clangd/completion-snippet.test?rev=317673&r1=317672&r2=317673&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clangd/completion-snippet.test (original)
+++ clang-tools-extra/trunk/test/clangd/completion-snippet.test Wed Nov 8 01:15:01 2017
@@ -68,8 +68,9 @@ Content-Length: 148
# CHECK-NEXT: "label": "operator=(const fake &)",
# CHECK-NEXT: "sortText": "000079operator="
# CHECK-NEXT: },
-# CHECK-NEXT: {
-# CHECK-NEXT: "detail": "void",
+# FIXME: Why do some buildbots show an extra operator==(fake&&) here?
+# CHECK: {
+# CHECK: "detail": "void",
# CHECK-NEXT: "filterText": "~fake",
# CHECK-NEXT: "insertText": "~fake()",
# CHECK-NEXT: "insertTextFormat": 1,
Modified: clang-tools-extra/trunk/test/clangd/completion.test
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clangd/completion.test?rev=317673&r1=317672&r2=317673&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clangd/completion.test (original)
+++ clang-tools-extra/trunk/test/clangd/completion.test Wed Nov 8 01:15:01 2017
@@ -68,8 +68,9 @@ Content-Length: 148
# CHECK-NEXT: "label": "operator=(const fake &)",
# CHECK-NEXT: "sortText": "000079operator="
# CHECK-NEXT: },
-# CHECK-NEXT: {
-# CHECK-NEXT: "detail": "void",
+# FIXME: Why do some buildbots show an extra operator==(fake&&) here?
+# CHECK: {
+# CHECK: "detail": "void",
# CHECK-NEXT: "filterText": "~fake",
# CHECK-NEXT: "insertText": "~fake",
# CHECK-NEXT: "insertTextFormat": 1,
@@ -137,8 +138,8 @@ Content-Length: 148
# CHECK-NEXT: "label": "operator=(const fake &)",
# CHECK-NEXT: "sortText": "000079operator="
# CHECK-NEXT: },
-# CHECK-NEXT: {
-# CHECK-NEXT: "detail": "void",
+# CHECK: {
+# CHECK: "detail": "void",
# CHECK-NEXT: "filterText": "~fake",
# CHECK-NEXT: "insertText": "~fake",
# CHECK-NEXT: "insertTextFormat": 1,
@@ -184,8 +185,8 @@ Content-Length: 148
# CHECK-NEXT: "label": "operator=(const fancy &)",
# CHECK-NEXT: "sortText": "000079operator="
# CHECK-NEXT: },
-# CHECK-NEXT: {
-# CHECK-NEXT: "detail": "void",
+# CHECK: {
+# CHECK: "detail": "void",
# CHECK-NEXT: "filterText": "~fancy",
# CHECK-NEXT: "insertText": "~fancy",
# CHECK-NEXT: "insertTextFormat": 1,
More information about the cfe-commits
mailing list