Skip to content

Commit dadbd47

Browse files
author
Emmanuel Garcia
authored
Disable clang format in the plugin registrants (flutter#76662)
1 parent 65e94f5 commit dadbd47

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

packages/flutter_tools/lib/src/plugins.dart

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,8 @@ const String _objcPluginRegistryHeaderTemplate = '''
990990
// Generated file. Do not edit.
991991
//
992992
993+
// clang-format off
994+
993995
#ifndef GeneratedPluginRegistrant_h
994996
#define GeneratedPluginRegistrant_h
995997
@@ -1010,6 +1012,8 @@ const String _objcPluginRegistryImplementationTemplate = '''
10101012
// Generated file. Do not edit.
10111013
//
10121014
1015+
// clang-format off
1016+
10131017
#import "GeneratedPluginRegistrant.h"
10141018
10151019
{{#plugins}}
@@ -1036,6 +1040,8 @@ const String _swiftPluginRegistryTemplate = '''
10361040
// Generated file. Do not edit.
10371041
//
10381042
1043+
// clang-format off
1044+
10391045
import {{framework}}
10401046
import Foundation
10411047
@@ -1146,6 +1152,8 @@ const String _cppPluginRegistryHeaderTemplate = '''
11461152
// Generated file. Do not edit.
11471153
//
11481154
1155+
// clang-format off
1156+
11491157
#ifndef GENERATED_PLUGIN_REGISTRANT_
11501158
#define GENERATED_PLUGIN_REGISTRANT_
11511159
@@ -1162,6 +1170,8 @@ const String _cppPluginRegistryImplementationTemplate = '''
11621170
// Generated file. Do not edit.
11631171
//
11641172
1173+
// clang-format off
1174+
11651175
#include "generated_plugin_registrant.h"
11661176
11671177
{{#plugins}}
@@ -1181,6 +1191,8 @@ const String _linuxPluginRegistryHeaderTemplate = '''
11811191
// Generated file. Do not edit.
11821192
//
11831193
1194+
// clang-format off
1195+
11841196
#ifndef GENERATED_PLUGIN_REGISTRANT_
11851197
#define GENERATED_PLUGIN_REGISTRANT_
11861198
@@ -1197,6 +1209,8 @@ const String _linuxPluginRegistryImplementationTemplate = '''
11971209
// Generated file. Do not edit.
11981210
//
11991211
1212+
// clang-format off
1213+
12001214
#include "generated_plugin_registrant.h"
12011215
12021216
{{#plugins}}

0 commit comments

Comments
 (0)