Skip to content

IndentPPDirectives Leave doesn't work #186921

@correaa

Description

@correaa

IndentPPDirectives: Leave doesn't work despite being documented.

I am using

$ /opt/homebrew/opt/llvm@19/bin/clang-format --version                                                                                                                                            
Homebrew clang-format version 19.1.7

Full error:

+ /opt/homebrew/opt/llvm@19/bin/clang-format --dry-run -Werror include/multi/array_ref.hpp include/multi/array.hpp include/multi/elementwise.hpp include/multi/io.hpp include/multi/restriction.hpp include/multi/utility.hpp test/allocator.cpp test/array_cref.cpp test/array_fancyref.cpp test/array_legacy_c.cpp test/array_ptr.cpp test/array_ref.cpp test/assignments.cpp test/boost_array_concept.cpp test/broadcast_softmax.cpp test/broadcast_transposed.cpp test/broadcast.cpp test/coelements.cpp test/comparisons.cpp test/concepts.cpp test/conor.cpp test/constructors.cpp test/conversions.cpp test/cursor.cpp test/diagonal.cpp test/drop.cpp test/element_access.cpp test/element_moved.cpp test/element_transformed.cpp test/elementwise_expr.cpp test/extensions.cpp test/extents.cpp test/fill.cpp test/fix_complex.cpp test/flatted.cpp test/flattened.cpp test/index_range.cpp test/initializer_list.cpp test/inplace_array.cpp test/interpolator.cpp test/io.cpp test/iterator.cpp test/layout.cpp test/main.cpp test/member_array_cast.cpp test/minimalistic_ptr.cpp test/move.cpp test/nico_const_correctness.cpp test/nonmovable.cpp test/one_based.cpp test/overload.cpp test/partitioned.cpp test/pmr.cpp test/ranges.cpp test/reextent.cpp test/reinterpret_array_cast.cpp test/restrict.cpp test/restrictions.cpp test/reversed.cpp test/rotated.cpp test/scoped_allocator.cpp test/sean.cpp test/select_column.cpp test/sliced.cpp test/sort.cpp test/static_array_cast.cpp test/std_vector_substitutability.cpp test/subarray.cpp test/subrange.cpp test/swap.cpp test/transform.cpp test/utility.cpp test/zero_dimensionality.cpp
/Users/correatedesco1/boost-multi/.clang-format:45:21: error: unknown enumerated scalar
IndentPPDirectives: Leave
                    ^~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang-formatquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions