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