From 99a5aecbc779985629abce22dfc00a4e9d6ccb9e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 10 Jan 2020 15:13:30 -0500 Subject: Wrap columnar tables in "clang-format off/on" These tables have aligned comments, so we don't want clang-format to mess with them. --- src/app/config/statefile.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/app') diff --git a/src/app/config/statefile.c b/src/app/config/statefile.c index d9667733cc..dcc55f1898 100644 --- a/src/app/config/statefile.c +++ b/src/app/config/statefile.c @@ -78,6 +78,7 @@ DUMMY_TYPECHECK_INSTANCE(or_state_t); VAR(#member, conftype, member, initvalue) /** Array of "state" variables saved to the ~/.tor/state file. */ +// clang-format off static const config_var_t state_vars_[] = { /* Remember to document these in state-contents.txt ! */ @@ -134,6 +135,7 @@ static const config_var_t state_vars_[] = { END_OF_CONFIG_VARS }; +// clang-format on #undef VAR #undef V -- cgit v1.2.3-54-g00ecf