struct Function {
using DeclTy = FunctionDecl;
- static constexpr auto *Prototype = "void X(long);";
+ static constexpr auto *Prototype = "void X(char*, char);";
static constexpr auto *ConflictingPrototype = "void X(double);";
- static constexpr auto *Definition = "void X(long a) {}";
+ static constexpr auto *Definition = "void X(char *a, char b) {}";
static constexpr auto *ConflictingDefinition = "void X(double a) {}";
BindableMatcher<Decl> getPattern() {
return functionDecl(hasName("X"), unless(isImplicit()));