]>
Commit | Line | Data |
---|---|---|
d4ef8d3f MO |
1 | # SPDX-License-Identifier: GPL-2.0 |
2 | # | |
3 | # clang-format configuration file. Intended for clang-format >= 4. | |
4 | # | |
5 | # For more information, see: | |
6 | # | |
7 | # Documentation/process/clang-format.rst | |
8 | # https://clang.llvm.org/docs/ClangFormat.html | |
9 | # https://clang.llvm.org/docs/ClangFormatStyleOptions.html | |
10 | # | |
11 | --- | |
12 | AccessModifierOffset: -4 | |
13 | AlignAfterOpenBracket: Align | |
14 | AlignConsecutiveAssignments: false | |
15 | AlignConsecutiveDeclarations: false | |
16 | #AlignEscapedNewlines: Left # Unknown to clang-format-4.0 | |
17 | AlignOperands: true | |
18 | AlignTrailingComments: false | |
19 | AllowAllParametersOfDeclarationOnNextLine: false | |
20 | AllowShortBlocksOnASingleLine: false | |
21 | AllowShortCaseLabelsOnASingleLine: false | |
22 | AllowShortFunctionsOnASingleLine: None | |
23 | AllowShortIfStatementsOnASingleLine: false | |
24 | AllowShortLoopsOnASingleLine: false | |
25 | AlwaysBreakAfterDefinitionReturnType: None | |
26 | AlwaysBreakAfterReturnType: None | |
27 | AlwaysBreakBeforeMultilineStrings: false | |
28 | AlwaysBreakTemplateDeclarations: false | |
29 | BinPackArguments: true | |
30 | BinPackParameters: true | |
31 | BraceWrapping: | |
32 | AfterClass: false | |
33 | AfterControlStatement: false | |
34 | AfterEnum: false | |
35 | AfterFunction: true | |
36 | AfterNamespace: true | |
37 | AfterObjCDeclaration: false | |
38 | AfterStruct: false | |
39 | AfterUnion: false | |
40 | #AfterExternBlock: false # Unknown to clang-format-5.0 | |
41 | BeforeCatch: false | |
42 | BeforeElse: false | |
43 | IndentBraces: false | |
44 | #SplitEmptyFunction: true # Unknown to clang-format-4.0 | |
45 | #SplitEmptyRecord: true # Unknown to clang-format-4.0 | |
46 | #SplitEmptyNamespace: true # Unknown to clang-format-4.0 | |
47 | BreakBeforeBinaryOperators: None | |
48 | BreakBeforeBraces: Custom | |
49 | #BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0 | |
50 | BreakBeforeTernaryOperators: false | |
51 | BreakConstructorInitializersBeforeComma: false | |
52 | #BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0 | |
53 | BreakAfterJavaFieldAnnotations: false | |
54 | BreakStringLiterals: false | |
55 | ColumnLimit: 80 | |
56 | CommentPragmas: '^ IWYU pragma:' | |
57 | #CompactNamespaces: false # Unknown to clang-format-4.0 | |
58 | ConstructorInitializerAllOnOneLineOrOnePerLine: false | |
59 | ConstructorInitializerIndentWidth: 8 | |
60 | ContinuationIndentWidth: 8 | |
61 | Cpp11BracedListStyle: false | |
62 | DerivePointerAlignment: false | |
63 | DisableFormat: false | |
64 | ExperimentalAutoDetectBinPacking: false | |
65 | #FixNamespaceComments: false # Unknown to clang-format-4.0 | |
66 | ||
67 | # Taken from: | |
68 | # git grep -h '^#define [^[:space:]]*for_each[^[:space:]]*(' include/ \ | |
69 | # | sed "s,^#define \([^[:space:]]*for_each[^[:space:]]*\)(.*$, - '\1'," \ | |
70 | # | sort | uniq | |
71 | ForEachMacros: | |
72 | - 'apei_estatus_for_each_section' | |
73 | - 'ata_for_each_dev' | |
74 | - 'ata_for_each_link' | |
99e309b6 JG |
75 | - '__ata_qc_for_each' |
76 | - 'ata_qc_for_each' | |
77 | - 'ata_qc_for_each_raw' | |
78 | - 'ata_qc_for_each_with_internal' | |
d4ef8d3f MO |
79 | - 'ax25_for_each' |
80 | - 'ax25_uid_for_each' | |
f16628d6 MO |
81 | - '__bio_for_each_bvec' |
82 | - 'bio_for_each_bvec' | |
1072c12d | 83 | - 'bio_for_each_bvec_all' |
d4ef8d3f MO |
84 | - 'bio_for_each_integrity_vec' |
85 | - '__bio_for_each_segment' | |
86 | - 'bio_for_each_segment' | |
87 | - 'bio_for_each_segment_all' | |
88 | - 'bio_list_for_each' | |
89 | - 'bip_for_each_vec' | |
11a4a8f7 MO |
90 | - 'bitmap_for_each_clear_region' |
91 | - 'bitmap_for_each_set_region' | |
d4ef8d3f MO |
92 | - 'blkg_for_each_descendant_post' |
93 | - 'blkg_for_each_descendant_pre' | |
94 | - 'blk_queue_for_each_rl' | |
95 | - 'bond_for_each_slave' | |
96 | - 'bond_for_each_slave_rcu' | |
99e309b6 | 97 | - 'bpf_for_each_spilled_reg' |
d4ef8d3f MO |
98 | - 'btree_for_each_safe128' |
99 | - 'btree_for_each_safe32' | |
100 | - 'btree_for_each_safe64' | |
101 | - 'btree_for_each_safel' | |
102 | - 'card_for_each_dev' | |
103 | - 'cgroup_taskset_for_each' | |
104 | - 'cgroup_taskset_for_each_leader' | |
105 | - 'cpufreq_for_each_entry' | |
106 | - 'cpufreq_for_each_entry_idx' | |
107 | - 'cpufreq_for_each_valid_entry' | |
108 | - 'cpufreq_for_each_valid_entry_idx' | |
109 | - 'css_for_each_child' | |
110 | - 'css_for_each_descendant_post' | |
111 | - 'css_for_each_descendant_pre' | |
112 | - 'device_for_each_child_node' | |
52d08347 | 113 | - 'dma_fence_chain_for_each' |
4e4bb894 | 114 | - 'do_for_each_ftrace_op' |
d4ef8d3f MO |
115 | - 'drm_atomic_crtc_for_each_plane' |
116 | - 'drm_atomic_crtc_state_for_each_plane' | |
117 | - 'drm_atomic_crtc_state_for_each_plane_state' | |
99e309b6 | 118 | - 'drm_atomic_for_each_plane_damage' |
52d08347 MO |
119 | - 'drm_client_for_each_connector_iter' |
120 | - 'drm_client_for_each_modeset' | |
99e309b6 | 121 | - 'drm_connector_for_each_possible_encoder' |
11a4a8f7 | 122 | - 'drm_for_each_bridge_in_chain' |
d4ef8d3f MO |
123 | - 'drm_for_each_connector_iter' |
124 | - 'drm_for_each_crtc' | |
125 | - 'drm_for_each_encoder' | |
126 | - 'drm_for_each_encoder_mask' | |
127 | - 'drm_for_each_fb' | |
128 | - 'drm_for_each_legacy_plane' | |
129 | - 'drm_for_each_plane' | |
130 | - 'drm_for_each_plane_mask' | |
f16628d6 | 131 | - 'drm_for_each_privobj' |
d4ef8d3f MO |
132 | - 'drm_mm_for_each_hole' |
133 | - 'drm_mm_for_each_node' | |
134 | - 'drm_mm_for_each_node_in_range' | |
135 | - 'drm_mm_for_each_node_safe' | |
f16628d6 | 136 | - 'flow_action_for_each' |
52d08347 | 137 | - 'for_each_active_dev_scope' |
d4ef8d3f MO |
138 | - 'for_each_active_drhd_unit' |
139 | - 'for_each_active_iommu' | |
4e4bb894 | 140 | - 'for_each_aggr_pgid' |
d4ef8d3f MO |
141 | - 'for_each_available_child_of_node' |
142 | - 'for_each_bio' | |
143 | - 'for_each_board_func_rsrc' | |
144 | - 'for_each_bvec' | |
11a4a8f7 MO |
145 | - 'for_each_card_auxs' |
146 | - 'for_each_card_auxs_safe' | |
99e309b6 | 147 | - 'for_each_card_components' |
5d65a021 | 148 | - 'for_each_card_dapms' |
11a4a8f7 | 149 | - 'for_each_card_pre_auxs' |
99e309b6 JG |
150 | - 'for_each_card_prelinks' |
151 | - 'for_each_card_rtds' | |
152 | - 'for_each_card_rtds_safe' | |
5d65a021 MO |
153 | - 'for_each_card_widgets' |
154 | - 'for_each_card_widgets_safe' | |
99e309b6 | 155 | - 'for_each_cgroup_storage_type' |
d4ef8d3f MO |
156 | - 'for_each_child_of_node' |
157 | - 'for_each_clear_bit' | |
158 | - 'for_each_clear_bit_from' | |
159 | - 'for_each_cmsghdr' | |
160 | - 'for_each_compatible_node' | |
99e309b6 JG |
161 | - 'for_each_component_dais' |
162 | - 'for_each_component_dais_safe' | |
163 | - 'for_each_comp_order' | |
d4ef8d3f MO |
164 | - 'for_each_console' |
165 | - 'for_each_cpu' | |
166 | - 'for_each_cpu_and' | |
167 | - 'for_each_cpu_not' | |
168 | - 'for_each_cpu_wrap' | |
5d65a021 | 169 | - 'for_each_dapm_widgets' |
d4ef8d3f | 170 | - 'for_each_dev_addr' |
52d08347 MO |
171 | - 'for_each_dev_scope' |
172 | - 'for_each_displayid_db' | |
d4ef8d3f | 173 | - 'for_each_dma_cap_mask' |
99e309b6 JG |
174 | - 'for_each_dpcm_be' |
175 | - 'for_each_dpcm_be_rollback' | |
176 | - 'for_each_dpcm_be_safe' | |
177 | - 'for_each_dpcm_fe' | |
d4ef8d3f MO |
178 | - 'for_each_drhd_unit' |
179 | - 'for_each_dss_dev' | |
180 | - 'for_each_efi_memory_desc' | |
181 | - 'for_each_efi_memory_desc_in_map' | |
f16628d6 MO |
182 | - 'for_each_element' |
183 | - 'for_each_element_extid' | |
184 | - 'for_each_element_id' | |
d4ef8d3f MO |
185 | - 'for_each_endpoint_of_node' |
186 | - 'for_each_evictable_lru' | |
187 | - 'for_each_fib6_node_rt_rcu' | |
188 | - 'for_each_fib6_walker_rt' | |
52d08347 MO |
189 | - 'for_each_free_mem_pfn_range_in_zone' |
190 | - 'for_each_free_mem_pfn_range_in_zone_from' | |
d4ef8d3f MO |
191 | - 'for_each_free_mem_range' |
192 | - 'for_each_free_mem_range_reverse' | |
193 | - 'for_each_func_rsrc' | |
194 | - 'for_each_hstate' | |
195 | - 'for_each_if' | |
196 | - 'for_each_iommu' | |
197 | - 'for_each_ip_tunnel_rcu' | |
198 | - 'for_each_irq_nr' | |
99e309b6 | 199 | - 'for_each_link_codecs' |
5d65a021 | 200 | - 'for_each_link_cpus' |
52d08347 | 201 | - 'for_each_link_platforms' |
d4ef8d3f MO |
202 | - 'for_each_lru' |
203 | - 'for_each_matching_node' | |
204 | - 'for_each_matching_node_and_match' | |
11a4a8f7 | 205 | - 'for_each_member' |
cc6de168 | 206 | - 'for_each_mem_region' |
d4ef8d3f MO |
207 | - 'for_each_memblock_type' |
208 | - 'for_each_memcg_cache_index' | |
209 | - 'for_each_mem_pfn_range' | |
6e245ad4 | 210 | - '__for_each_mem_range' |
d4ef8d3f | 211 | - 'for_each_mem_range' |
6e245ad4 | 212 | - '__for_each_mem_range_rev' |
d4ef8d3f MO |
213 | - 'for_each_mem_range_rev' |
214 | - 'for_each_migratetype_order' | |
215 | - 'for_each_msi_entry' | |
99e309b6 | 216 | - 'for_each_msi_entry_safe' |
d4ef8d3f | 217 | - 'for_each_net' |
11a4a8f7 | 218 | - 'for_each_net_continue_reverse' |
d4ef8d3f MO |
219 | - 'for_each_netdev' |
220 | - 'for_each_netdev_continue' | |
221 | - 'for_each_netdev_continue_rcu' | |
11a4a8f7 | 222 | - 'for_each_netdev_continue_reverse' |
d4ef8d3f MO |
223 | - 'for_each_netdev_feature' |
224 | - 'for_each_netdev_in_bond_rcu' | |
225 | - 'for_each_netdev_rcu' | |
226 | - 'for_each_netdev_reverse' | |
227 | - 'for_each_netdev_safe' | |
228 | - 'for_each_net_rcu' | |
229 | - 'for_each_new_connector_in_state' | |
230 | - 'for_each_new_crtc_in_state' | |
f16628d6 | 231 | - 'for_each_new_mst_mgr_in_state' |
d4ef8d3f MO |
232 | - 'for_each_new_plane_in_state' |
233 | - 'for_each_new_private_obj_in_state' | |
234 | - 'for_each_node' | |
235 | - 'for_each_node_by_name' | |
236 | - 'for_each_node_by_type' | |
237 | - 'for_each_node_mask' | |
238 | - 'for_each_node_state' | |
239 | - 'for_each_node_with_cpus' | |
240 | - 'for_each_node_with_property' | |
4e4bb894 | 241 | - 'for_each_nonreserved_multicast_dest_pgid' |
d4ef8d3f MO |
242 | - 'for_each_of_allnodes' |
243 | - 'for_each_of_allnodes_from' | |
99e309b6 | 244 | - 'for_each_of_cpu_node' |
d4ef8d3f MO |
245 | - 'for_each_of_pci_range' |
246 | - 'for_each_old_connector_in_state' | |
247 | - 'for_each_old_crtc_in_state' | |
f16628d6 | 248 | - 'for_each_old_mst_mgr_in_state' |
d4ef8d3f MO |
249 | - 'for_each_oldnew_connector_in_state' |
250 | - 'for_each_oldnew_crtc_in_state' | |
f16628d6 | 251 | - 'for_each_oldnew_mst_mgr_in_state' |
d4ef8d3f | 252 | - 'for_each_oldnew_plane_in_state' |
99e309b6 | 253 | - 'for_each_oldnew_plane_in_state_reverse' |
d4ef8d3f MO |
254 | - 'for_each_oldnew_private_obj_in_state' |
255 | - 'for_each_old_plane_in_state' | |
256 | - 'for_each_old_private_obj_in_state' | |
257 | - 'for_each_online_cpu' | |
258 | - 'for_each_online_node' | |
259 | - 'for_each_online_pgdat' | |
260 | - 'for_each_pci_bridge' | |
261 | - 'for_each_pci_dev' | |
262 | - 'for_each_pci_msi_entry' | |
5d65a021 | 263 | - 'for_each_pcm_streams' |
4e4bb894 | 264 | - 'for_each_physmem_range' |
d4ef8d3f MO |
265 | - 'for_each_populated_zone' |
266 | - 'for_each_possible_cpu' | |
267 | - 'for_each_present_cpu' | |
268 | - 'for_each_prime_number' | |
269 | - 'for_each_prime_number_from' | |
270 | - 'for_each_process' | |
271 | - 'for_each_process_thread' | |
272 | - 'for_each_property_of_node' | |
99e309b6 | 273 | - 'for_each_registered_fb' |
4e4bb894 MO |
274 | - 'for_each_requested_gpio' |
275 | - 'for_each_requested_gpio_in_range' | |
9f3d5eaa | 276 | - 'for_each_reserved_mem_range' |
cc6de168 | 277 | - 'for_each_reserved_mem_region' |
5d65a021 MO |
278 | - 'for_each_rtd_codec_dais' |
279 | - 'for_each_rtd_codec_dais_rollback' | |
11a4a8f7 | 280 | - 'for_each_rtd_components' |
5d65a021 MO |
281 | - 'for_each_rtd_cpu_dais' |
282 | - 'for_each_rtd_cpu_dais_rollback' | |
283 | - 'for_each_rtd_dais' | |
d4ef8d3f MO |
284 | - 'for_each_set_bit' |
285 | - 'for_each_set_bit_from' | |
11a4a8f7 | 286 | - 'for_each_set_clump8' |
d4ef8d3f | 287 | - 'for_each_sg' |
d901b276 | 288 | - 'for_each_sg_dma_page' |
d4ef8d3f | 289 | - 'for_each_sg_page' |
4e4bb894 MO |
290 | - 'for_each_sgtable_dma_page' |
291 | - 'for_each_sgtable_dma_sg' | |
292 | - 'for_each_sgtable_page' | |
293 | - 'for_each_sgtable_sg' | |
99e309b6 | 294 | - 'for_each_sibling_event' |
f16628d6 MO |
295 | - 'for_each_subelement' |
296 | - 'for_each_subelement_extid' | |
297 | - 'for_each_subelement_id' | |
d4ef8d3f MO |
298 | - '__for_each_thread' |
299 | - 'for_each_thread' | |
4e4bb894 | 300 | - 'for_each_unicast_dest_pgid' |
11a4a8f7 | 301 | - 'for_each_wakeup_source' |
d4ef8d3f MO |
302 | - 'for_each_zone' |
303 | - 'for_each_zone_zonelist' | |
304 | - 'for_each_zone_zonelist_nodemask' | |
305 | - 'fwnode_for_each_available_child_node' | |
306 | - 'fwnode_for_each_child_node' | |
307 | - 'fwnode_graph_for_each_endpoint' | |
308 | - 'gadget_for_each_ep' | |
f16628d6 MO |
309 | - 'genradix_for_each' |
310 | - 'genradix_for_each_from' | |
d4ef8d3f MO |
311 | - 'hash_for_each' |
312 | - 'hash_for_each_possible' | |
313 | - 'hash_for_each_possible_rcu' | |
314 | - 'hash_for_each_possible_rcu_notrace' | |
315 | - 'hash_for_each_possible_safe' | |
316 | - 'hash_for_each_rcu' | |
317 | - 'hash_for_each_safe' | |
318 | - 'hctx_for_each_ctx' | |
319 | - 'hlist_bl_for_each_entry' | |
320 | - 'hlist_bl_for_each_entry_rcu' | |
321 | - 'hlist_bl_for_each_entry_safe' | |
322 | - 'hlist_for_each' | |
323 | - 'hlist_for_each_entry' | |
324 | - 'hlist_for_each_entry_continue' | |
325 | - 'hlist_for_each_entry_continue_rcu' | |
326 | - 'hlist_for_each_entry_continue_rcu_bh' | |
327 | - 'hlist_for_each_entry_from' | |
328 | - 'hlist_for_each_entry_from_rcu' | |
329 | - 'hlist_for_each_entry_rcu' | |
330 | - 'hlist_for_each_entry_rcu_bh' | |
331 | - 'hlist_for_each_entry_rcu_notrace' | |
332 | - 'hlist_for_each_entry_safe' | |
333 | - '__hlist_for_each_rcu' | |
334 | - 'hlist_for_each_safe' | |
335 | - 'hlist_nulls_for_each_entry' | |
336 | - 'hlist_nulls_for_each_entry_from' | |
337 | - 'hlist_nulls_for_each_entry_rcu' | |
338 | - 'hlist_nulls_for_each_entry_safe' | |
99e309b6 JG |
339 | - 'i3c_bus_for_each_i2cdev' |
340 | - 'i3c_bus_for_each_i3cdev' | |
d4ef8d3f MO |
341 | - 'ide_host_for_each_port' |
342 | - 'ide_port_for_each_dev' | |
343 | - 'ide_port_for_each_present_dev' | |
344 | - 'idr_for_each_entry' | |
345 | - 'idr_for_each_entry_continue' | |
52d08347 | 346 | - 'idr_for_each_entry_continue_ul' |
d4ef8d3f | 347 | - 'idr_for_each_entry_ul' |
52d08347 MO |
348 | - 'in_dev_for_each_ifa_rcu' |
349 | - 'in_dev_for_each_ifa_rtnl' | |
d4ef8d3f MO |
350 | - 'inet_bind_bucket_for_each' |
351 | - 'inet_lhash2_for_each_icsk_rcu' | |
d4ef8d3f MO |
352 | - 'key_for_each' |
353 | - 'key_for_each_safe' | |
354 | - 'klp_for_each_func' | |
f16628d6 MO |
355 | - 'klp_for_each_func_safe' |
356 | - 'klp_for_each_func_static' | |
d4ef8d3f | 357 | - 'klp_for_each_object' |
f16628d6 MO |
358 | - 'klp_for_each_object_safe' |
359 | - 'klp_for_each_object_static' | |
5d65a021 | 360 | - 'kunit_suite_for_each_test_case' |
d4ef8d3f MO |
361 | - 'kvm_for_each_memslot' |
362 | - 'kvm_for_each_vcpu' | |
363 | - 'list_for_each' | |
99e309b6 JG |
364 | - 'list_for_each_codec' |
365 | - 'list_for_each_codec_safe' | |
11a4a8f7 | 366 | - 'list_for_each_continue' |
d4ef8d3f MO |
367 | - 'list_for_each_entry' |
368 | - 'list_for_each_entry_continue' | |
369 | - 'list_for_each_entry_continue_rcu' | |
370 | - 'list_for_each_entry_continue_reverse' | |
371 | - 'list_for_each_entry_from' | |
99e309b6 | 372 | - 'list_for_each_entry_from_rcu' |
d4ef8d3f MO |
373 | - 'list_for_each_entry_from_reverse' |
374 | - 'list_for_each_entry_lockless' | |
375 | - 'list_for_each_entry_rcu' | |
376 | - 'list_for_each_entry_reverse' | |
377 | - 'list_for_each_entry_safe' | |
378 | - 'list_for_each_entry_safe_continue' | |
379 | - 'list_for_each_entry_safe_from' | |
380 | - 'list_for_each_entry_safe_reverse' | |
381 | - 'list_for_each_prev' | |
382 | - 'list_for_each_prev_safe' | |
383 | - 'list_for_each_safe' | |
384 | - 'llist_for_each' | |
385 | - 'llist_for_each_entry' | |
386 | - 'llist_for_each_entry_safe' | |
387 | - 'llist_for_each_safe' | |
11a4a8f7 | 388 | - 'mci_for_each_dimm' |
d4ef8d3f MO |
389 | - 'media_device_for_each_entity' |
390 | - 'media_device_for_each_intf' | |
391 | - 'media_device_for_each_link' | |
392 | - 'media_device_for_each_pad' | |
99e309b6 | 393 | - 'nanddev_io_for_each_page' |
d4ef8d3f MO |
394 | - 'netdev_for_each_lower_dev' |
395 | - 'netdev_for_each_lower_private' | |
396 | - 'netdev_for_each_lower_private_rcu' | |
397 | - 'netdev_for_each_mc_addr' | |
398 | - 'netdev_for_each_uc_addr' | |
399 | - 'netdev_for_each_upper_dev_rcu' | |
400 | - 'netdev_hw_addr_list_for_each' | |
401 | - 'nft_rule_for_each_expr' | |
402 | - 'nla_for_each_attr' | |
403 | - 'nla_for_each_nested' | |
404 | - 'nlmsg_for_each_attr' | |
405 | - 'nlmsg_for_each_msg' | |
406 | - 'nr_neigh_for_each' | |
407 | - 'nr_neigh_for_each_safe' | |
408 | - 'nr_node_for_each' | |
409 | - 'nr_node_for_each_safe' | |
410 | - 'of_for_each_phandle' | |
411 | - 'of_property_for_each_string' | |
412 | - 'of_property_for_each_u32' | |
413 | - 'pci_bus_for_each_resource' | |
5d65a021 | 414 | - 'pcm_for_each_format' |
d4ef8d3f MO |
415 | - 'ping_portaddr_for_each_entry' |
416 | - 'plist_for_each' | |
417 | - 'plist_for_each_continue' | |
418 | - 'plist_for_each_entry' | |
419 | - 'plist_for_each_entry_continue' | |
420 | - 'plist_for_each_entry_safe' | |
421 | - 'plist_for_each_safe' | |
422 | - 'pnp_for_each_card' | |
423 | - 'pnp_for_each_dev' | |
424 | - 'protocol_for_each_card' | |
425 | - 'protocol_for_each_dev' | |
426 | - 'queue_for_each_hw_ctx' | |
d4ef8d3f MO |
427 | - 'radix_tree_for_each_slot' |
428 | - 'radix_tree_for_each_tagged' | |
429 | - 'rbtree_postorder_for_each_entry_safe' | |
52d08347 | 430 | - 'rdma_for_each_block' |
ea1075ed | 431 | - 'rdma_for_each_port' |
ebc24096 | 432 | - 'rdma_umem_for_each_dma_block' |
d4ef8d3f MO |
433 | - 'resource_list_for_each_entry' |
434 | - 'resource_list_for_each_entry_safe' | |
435 | - 'rhl_for_each_entry_rcu' | |
436 | - 'rhl_for_each_rcu' | |
437 | - 'rht_for_each' | |
d4ef8d3f | 438 | - 'rht_for_each_entry' |
f7ad68bf | 439 | - 'rht_for_each_entry_from' |
d4ef8d3f | 440 | - 'rht_for_each_entry_rcu' |
f7ad68bf | 441 | - 'rht_for_each_entry_rcu_from' |
d4ef8d3f | 442 | - 'rht_for_each_entry_safe' |
52d08347 | 443 | - 'rht_for_each_from' |
d4ef8d3f | 444 | - 'rht_for_each_rcu' |
f7ad68bf | 445 | - 'rht_for_each_rcu_from' |
d4ef8d3f | 446 | - '__rq_for_each_bio' |
f16628d6 | 447 | - 'rq_for_each_bvec' |
d4ef8d3f MO |
448 | - 'rq_for_each_segment' |
449 | - 'scsi_for_each_prot_sg' | |
450 | - 'scsi_for_each_sg' | |
451 | - 'sctp_for_each_hentry' | |
452 | - 'sctp_skb_for_each' | |
453 | - 'shdma_for_each_chan' | |
454 | - '__shost_for_each_device' | |
455 | - 'shost_for_each_device' | |
456 | - 'sk_for_each' | |
457 | - 'sk_for_each_bound' | |
458 | - 'sk_for_each_entry_offset_rcu' | |
459 | - 'sk_for_each_from' | |
460 | - 'sk_for_each_rcu' | |
461 | - 'sk_for_each_safe' | |
462 | - 'sk_nulls_for_each' | |
463 | - 'sk_nulls_for_each_from' | |
464 | - 'sk_nulls_for_each_rcu' | |
99e309b6 | 465 | - 'snd_array_for_each' |
d4ef8d3f MO |
466 | - 'snd_pcm_group_for_each_entry' |
467 | - 'snd_soc_dapm_widget_for_each_path' | |
468 | - 'snd_soc_dapm_widget_for_each_path_safe' | |
469 | - 'snd_soc_dapm_widget_for_each_sink_path' | |
470 | - 'snd_soc_dapm_widget_for_each_source_path' | |
471 | - 'tb_property_for_each' | |
99e309b6 | 472 | - 'tcf_exts_for_each_action' |
d4ef8d3f MO |
473 | - 'udp_portaddr_for_each_entry' |
474 | - 'udp_portaddr_for_each_entry_rcu' | |
475 | - 'usb_hub_for_each_child' | |
476 | - 'v4l2_device_for_each_subdev' | |
477 | - 'v4l2_m2m_for_each_dst_buf' | |
478 | - 'v4l2_m2m_for_each_dst_buf_safe' | |
479 | - 'v4l2_m2m_for_each_src_buf' | |
480 | - 'v4l2_m2m_for_each_src_buf_safe' | |
99e309b6 | 481 | - 'virtio_device_for_each_vq' |
4e4bb894 | 482 | - 'while_for_each_ftrace_op' |
99e309b6 | 483 | - 'xa_for_each' |
f16628d6 | 484 | - 'xa_for_each_marked' |
11a4a8f7 | 485 | - 'xa_for_each_range' |
f16628d6 | 486 | - 'xa_for_each_start' |
99e309b6 JG |
487 | - 'xas_for_each' |
488 | - 'xas_for_each_conflict' | |
489 | - 'xas_for_each_marked' | |
11a4a8f7 MO |
490 | - 'xbc_array_for_each_value' |
491 | - 'xbc_for_each_key_value' | |
492 | - 'xbc_node_for_each_array_value' | |
493 | - 'xbc_node_for_each_child' | |
494 | - 'xbc_node_for_each_key_value' | |
d4ef8d3f MO |
495 | - 'zorro_for_each_dev' |
496 | ||
497 | #IncludeBlocks: Preserve # Unknown to clang-format-5.0 | |
498 | IncludeCategories: | |
499 | - Regex: '.*' | |
500 | Priority: 1 | |
501 | IncludeIsMainRegex: '(Test)?$' | |
502 | IndentCaseLabels: false | |
503 | #IndentPPDirectives: None # Unknown to clang-format-5.0 | |
504 | IndentWidth: 8 | |
7bee9bd2 | 505 | IndentWrappedFunctionNames: false |
d4ef8d3f MO |
506 | JavaScriptQuotes: Leave |
507 | JavaScriptWrapImports: true | |
508 | KeepEmptyLinesAtTheStartOfBlocks: false | |
509 | MacroBlockBegin: '' | |
510 | MacroBlockEnd: '' | |
511 | MaxEmptyLinesToKeep: 1 | |
c90f3b8c | 512 | NamespaceIndentation: None |
d4ef8d3f MO |
513 | #ObjCBinPackProtocolList: Auto # Unknown to clang-format-5.0 |
514 | ObjCBlockIndentWidth: 8 | |
515 | ObjCSpaceAfterProperty: true | |
516 | ObjCSpaceBeforeProtocolList: true | |
517 | ||
518 | # Taken from git's rules | |
519 | #PenaltyBreakAssignment: 10 # Unknown to clang-format-4.0 | |
520 | PenaltyBreakBeforeFirstCallParameter: 30 | |
521 | PenaltyBreakComment: 10 | |
522 | PenaltyBreakFirstLessLess: 0 | |
523 | PenaltyBreakString: 10 | |
524 | PenaltyExcessCharacter: 100 | |
525 | PenaltyReturnTypeOnItsOwnLine: 60 | |
526 | ||
527 | PointerAlignment: Right | |
528 | ReflowComments: false | |
529 | SortIncludes: false | |
530 | #SortUsingDeclarations: false # Unknown to clang-format-4.0 | |
531 | SpaceAfterCStyleCast: false | |
532 | SpaceAfterTemplateKeyword: true | |
533 | SpaceBeforeAssignmentOperators: true | |
534 | #SpaceBeforeCtorInitializerColon: true # Unknown to clang-format-5.0 | |
535 | #SpaceBeforeInheritanceColon: true # Unknown to clang-format-5.0 | |
536 | SpaceBeforeParens: ControlStatements | |
537 | #SpaceBeforeRangeBasedForLoopColon: true # Unknown to clang-format-5.0 | |
538 | SpaceInEmptyParentheses: false | |
539 | SpacesBeforeTrailingComments: 1 | |
540 | SpacesInAngles: false | |
541 | SpacesInContainerLiterals: false | |
542 | SpacesInCStyleCastParentheses: false | |
543 | SpacesInParentheses: false | |
544 | SpacesInSquareBrackets: false | |
545 | Standard: Cpp03 | |
546 | TabWidth: 8 | |
547 | UseTab: Always | |
548 | ... |