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

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

source code of clang-tools-extra/test/clang-query/function-decl.c