(clang-format for has_example)

This commit is contained in:
Chuck 2019-09-17 17:36:26 -07:00 committed by Linus Heckemann
parent 57a5752300
commit a3e31df4d7

@ -402,13 +402,14 @@ void printAttr(Context & ctx, Out & out, const std::string & path, Value & root)
}
}
bool has_example(Context & ctx, Value & option) {
try {
findAlongAttrPath(ctx.state, "example", ctx.autoArgs, option);
return true;
} catch (Error &) {
return false;
}
bool has_example(Context & ctx, Value & option)
{
try {
findAlongAttrPath(ctx.state, "example", ctx.autoArgs, option);
return true;
} catch (Error &) {
return false;
}
}
void printOption(Context & ctx, Out & out, const std::string & path, Value & option)