Peter Collingbourne b549019c3c Add a makefile for clang-query. Patch by Alex Horn!
While at it, have cmake build and test the tool if libedit is not installed,
as this dependency is now optional.

llvm-svn: 201599
2014-02-18 19:46:01 +00:00

5 lines
141 B
C

// RUN: clang-query -c "match functionDecl()" %s -- | FileCheck %s
// CHECK: function-decl.c:4:1: note: "root" binds here
void foo(void) {}