summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-query
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-query')
-rw-r--r--clang-tools-extra/test/clang-query/errors.c1
-rw-r--r--clang-tools-extra/test/clang-query/function-decl.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/clang-tools-extra/test/clang-query/errors.c b/clang-tools-extra/test/clang-query/errors.c
index 96bb6bf216c..bbb74212574 100644
--- a/clang-tools-extra/test/clang-query/errors.c
+++ b/clang-tools-extra/test/clang-query/errors.c
@@ -2,7 +2,6 @@
// RUN: not clang-query -f %S/Inputs/foo.script %s -- | FileCheck %s
// RUN: not clang-query -f %S/Inputs/nonexistent.script %s -- 2>&1 | FileCheck --check-prefix=CHECK-NONEXISTENT %s
// RUN: not clang-query -c foo -f foo %s -- 2>&1 | FileCheck --check-prefix=CHECK-BOTH %s
-// REQUIRES: libedit
// CHECK: unknown command: foo
// CHECK-NOT: unknown command: bar
diff --git a/clang-tools-extra/test/clang-query/function-decl.c b/clang-tools-extra/test/clang-query/function-decl.c
index 8a2c4bf1201..f35cba03781 100644
--- a/clang-tools-extra/test/clang-query/function-decl.c
+++ b/clang-tools-extra/test/clang-query/function-decl.c
@@ -1,5 +1,4 @@
// RUN: clang-query -c "match functionDecl()" %s -- | FileCheck %s
-// REQUIRES: libedit
-// CHECK: function-decl.c:5:1: note: "root" binds here
+// CHECK: function-decl.c:4:1: note: "root" binds here
void foo(void) {}
OpenPOWER on IntegriCloud