From 03bc6535bda2480adcfc30ae501db3252ffbcc92 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 26 Feb 2022 09:17:00 -0500 Subject: generate_auto_job: protect generated files from formatting --- include/qpdf/auto_job_c_att.hh | 2 ++ include/qpdf/auto_job_c_copy_att.hh | 2 ++ include/qpdf/auto_job_c_enc.hh | 2 ++ include/qpdf/auto_job_c_main.hh | 2 ++ include/qpdf/auto_job_c_pages.hh | 2 ++ include/qpdf/auto_job_c_uo.hh | 2 ++ 6 files changed, 12 insertions(+) (limited to 'include') diff --git a/include/qpdf/auto_job_c_att.hh b/include/qpdf/auto_job_c_att.hh index b94774f5..ea854199 100644 --- a/include/qpdf/auto_job_c_att.hh +++ b/include/qpdf/auto_job_c_att.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// QPDF_DLL AttConfig* replace(); QPDF_DLL AttConfig* key(std::string const& parameter); QPDF_DLL AttConfig* filename(std::string const& parameter); diff --git a/include/qpdf/auto_job_c_copy_att.hh b/include/qpdf/auto_job_c_copy_att.hh index e372ab93..764a5ea1 100644 --- a/include/qpdf/auto_job_c_copy_att.hh +++ b/include/qpdf/auto_job_c_copy_att.hh @@ -3,5 +3,7 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// QPDF_DLL CopyAttConfig* prefix(std::string const& parameter); QPDF_DLL CopyAttConfig* password(std::string const& parameter); diff --git a/include/qpdf/auto_job_c_enc.hh b/include/qpdf/auto_job_c_enc.hh index fc9e3b53..ed4d0715 100644 --- a/include/qpdf/auto_job_c_enc.hh +++ b/include/qpdf/auto_job_c_enc.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// QPDF_DLL EncConfig* extract(std::string const& parameter); QPDF_DLL EncConfig* annotate(std::string const& parameter); QPDF_DLL EncConfig* print(std::string const& parameter); diff --git a/include/qpdf/auto_job_c_main.hh b/include/qpdf/auto_job_c_main.hh index 87987443..0444ddaa 100644 --- a/include/qpdf/auto_job_c_main.hh +++ b/include/qpdf/auto_job_c_main.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// QPDF_DLL Config* allowWeakCrypto(); QPDF_DLL Config* check(); QPDF_DLL Config* checkLinearization(); diff --git a/include/qpdf/auto_job_c_pages.hh b/include/qpdf/auto_job_c_pages.hh index d6cbecfe..b816d29d 100644 --- a/include/qpdf/auto_job_c_pages.hh +++ b/include/qpdf/auto_job_c_pages.hh @@ -3,3 +3,5 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// diff --git a/include/qpdf/auto_job_c_uo.hh b/include/qpdf/auto_job_c_uo.hh index 3c7585c2..e9894730 100644 --- a/include/qpdf/auto_job_c_uo.hh +++ b/include/qpdf/auto_job_c_uo.hh @@ -3,6 +3,8 @@ // Edits will be automatically overwritten if the build is // run in maintainer mode. // +// clang-format off +// QPDF_DLL UOConfig* to(std::string const& parameter); QPDF_DLL UOConfig* from(std::string const& parameter); QPDF_DLL UOConfig* repeat(std::string const& parameter); -- cgit v1.2.3-70-g09d2