diff --git a/src/google/protobuf/compiler/cpp/file.cc b/src/google/protobuf/compiler/cpp/file.cc index 65ad1a95b091a..4a0b14cd8fa76 100644 --- a/src/google/protobuf/compiler/cpp/file.cc +++ b/src/google/protobuf/compiler/cpp/file.cc @@ -185,7 +185,9 @@ void FileGenerator::GenerateFile(io::Printer* p, GeneratedFileType file_type, #include #include + // clang-format off $cb$; + // clang-format on #endif // $guard$ )"); diff --git a/src/google/protobuf/compiler/java/java_features.pb.h b/src/google/protobuf/compiler/java/java_features.pb.h index 6a943f035af31..8c6ced463e2fc 100644 --- a/src/google/protobuf/compiler/java/java_features.pb.h +++ b/src/google/protobuf/compiler/java/java_features.pb.h @@ -11,6 +11,7 @@ #include #include +// clang-format off #include "google/protobuf/runtime_version.h" #if PROTOBUF_VERSION != 6034000 #error "Protobuf C++ gencode is built with an incompatible version of" @@ -794,5 +795,6 @@ inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::pb::JavaFeatur // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" +// clang-format on #endif // google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto_2epb_2eh diff --git a/src/google/protobuf/compiler/plugin.pb.h b/src/google/protobuf/compiler/plugin.pb.h index eb789315a6c58..4fc466dd734a4 100644 --- a/src/google/protobuf/compiler/plugin.pb.h +++ b/src/google/protobuf/compiler/plugin.pb.h @@ -11,6 +11,7 @@ #include #include +// clang-format off #include "google/protobuf/runtime_version.h" #if PROTOBUF_VERSION != 6034000 #error "Protobuf C++ gencode is built with an incompatible version of" @@ -2260,5 +2261,6 @@ inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::google::protob // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" +// clang-format on #endif // google_2fprotobuf_2fcompiler_2fplugin_2eproto_2epb_2eh diff --git a/src/google/protobuf/cpp_features.pb.h b/src/google/protobuf/cpp_features.pb.h index e0c3d3c69d9fc..ce87716cc965f 100644 --- a/src/google/protobuf/cpp_features.pb.h +++ b/src/google/protobuf/cpp_features.pb.h @@ -11,6 +11,7 @@ #include #include +// clang-format off #include "google/protobuf/runtime_version.h" #if PROTOBUF_VERSION != 6034000 #error "Protobuf C++ gencode is built with an incompatible version of" @@ -495,5 +496,6 @@ inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::pb::CppFeature // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" +// clang-format on #endif // google_2fprotobuf_2fcpp_5ffeatures_2eproto_2epb_2eh diff --git a/src/google/protobuf/descriptor.pb.h b/src/google/protobuf/descriptor.pb.h index 44d9b588f1aae..ff17afb27207c 100644 --- a/src/google/protobuf/descriptor.pb.h +++ b/src/google/protobuf/descriptor.pb.h @@ -11,6 +11,7 @@ #include #include +// clang-format off #include "google/protobuf/runtime_version.h" #if PROTOBUF_VERSION != 6034000 #error "Protobuf C++ gencode is built with an incompatible version of" @@ -22722,5 +22723,6 @@ inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::google::protob // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" +// clang-format on #endif // google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh