style: disable indent for delicate places
This commit is contained in:
parent
bae428393a
commit
033bac0c5e
3 changed files with 10 additions and 0 deletions
|
@ -26,7 +26,9 @@
|
||||||
|
|
||||||
# include <fstream>
|
# include <fstream>
|
||||||
|
|
||||||
|
/* *INDENT-OFF* */
|
||||||
namespace criterion { namespace internal {
|
namespace criterion { namespace internal {
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
template <typename CharT, typename Traits = std::char_traits<CharT>>
|
template <typename CharT, typename Traits = std::char_traits<CharT>>
|
||||||
class stdio_sync_filebuf : public std::basic_streambuf<CharT, Traits> {
|
class stdio_sync_filebuf : public std::basic_streambuf<CharT, Traits> {
|
||||||
|
@ -156,6 +158,8 @@ namespace criterion { namespace internal {
|
||||||
return std::fwrite(s, 1, n, file);
|
return std::fwrite(s, 1, n, file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* *INDENT-OFF* */
|
||||||
}}
|
}}
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
#endif /* !CRITERION_INTERNAL_STDIO_FILEBUF_HXX_ */
|
#endif /* !CRITERION_INTERNAL_STDIO_FILEBUF_HXX_ */
|
||||||
|
|
|
@ -30,7 +30,9 @@
|
||||||
|
|
||||||
# include "stdio_filebuf.hxx"
|
# include "stdio_filebuf.hxx"
|
||||||
|
|
||||||
|
/* *INDENT-OFF* */
|
||||||
namespace criterion { namespace internal {
|
namespace criterion { namespace internal {
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
template <typename CharT, typename Super>
|
template <typename CharT, typename Super>
|
||||||
class stream_mixin : public Super {
|
class stream_mixin : public Super {
|
||||||
|
@ -128,6 +130,8 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* *INDENT-OFF* */
|
||||||
}}
|
}}
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
#endif /* !CRITERION_INTERNAL_STREAM_HXX_ */
|
#endif /* !CRITERION_INTERNAL_STREAM_HXX_ */
|
||||||
|
|
|
@ -306,6 +306,7 @@ CR_API int criterion_handle_args(int argc, char *argv[],
|
||||||
exit(3);
|
exit(3);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* *INDENT-OFF* - Duff devices are often mishandled by formatters */
|
||||||
{
|
{
|
||||||
const char *provider;
|
const char *provider;
|
||||||
case 'T': provider = "tap"; goto provider_def;
|
case 'T': provider = "tap"; goto provider_def;
|
||||||
|
@ -317,6 +318,7 @@ CR_API int criterion_handle_args(int argc, char *argv[],
|
||||||
quiet = !strcmp(path, "-");
|
quiet = !strcmp(path, "-");
|
||||||
criterion_add_output(provider, path);
|
criterion_add_output(provider, path);
|
||||||
} break;
|
} break;
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
case 'l': do_list_tests = true; break;
|
case 'l': do_list_tests = true; break;
|
||||||
case 'v': do_print_version = true; break;
|
case 'v': do_print_version = true; break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue