Find all void functions
// FuncDeclarator [ parent::DeclOrStmt / DeclSpecs[*]::BuiltinType [ @Spec = KTC_BUILTINTYPE_VOID ] ]
1 // find this function
2 void f() { } // and this one static
3 void g() { } // no match - return type is not void
4 inline int h() {
5
6 return 0;
7 } // no match - return type is a pointer to void
8
9 void *j() {
10
11 return NULL;
12 }