Changeset View
Changeset View
Standalone View
Standalone View
.clang-format
| Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Lines | |||||
| # There are macros in Blender for custom for loops; tell Clang to treat them | # There are macros in Blender for custom for loops; tell Clang to treat them | ||||
| # like loops rather than an expression, and so put the { on the same line. | # like loops rather than an expression, and so put the { on the same line. | ||||
| # | # | ||||
| # To find these use multi-line regex search: | # To find these use multi-line regex search: | ||||
| # "^\s+[A-Z][A-Z0-9_]+\s*\([^\n]*\)\n\s*\{" | # "^\s+[A-Z][A-Z0-9_]+\s*\([^\n]*\)\n\s*\{" | ||||
| ForEachMacros: | ForEachMacros: | ||||
| - BEGIN_ANIMFILTER_SUBCHANNELS | - BEGIN_ANIMFILTER_SUBCHANNELS | ||||
| - BKE_pbvh_vertex_iter_begin | - BKE_pbvh_vertex_iter_begin | ||||
| - BKE_pbvh_face_iter_begin | |||||
| - BLI_FOREACH_SPARSE_RANGE | - BLI_FOREACH_SPARSE_RANGE | ||||
| - BLI_SMALLSTACK_ITER_BEGIN | - BLI_SMALLSTACK_ITER_BEGIN | ||||
| - BMO_ITER | - BMO_ITER | ||||
| - BMO_ITER_INDEX | - BMO_ITER_INDEX | ||||
| - BMW_ITER | - BMW_ITER | ||||
| - BM_FACES_OF_VERT_ITER_BEGIN | - BM_FACES_OF_VERT_ITER_BEGIN | ||||
| - BM_ITER_BPY_BM_SEQ | - BM_ITER_BPY_BM_SEQ | ||||
| - BM_ITER_ELEM | - BM_ITER_ELEM | ||||
| ▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines | |||||