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