Skip to content

request: clang-format to recurse over directories #62108

Open
@mcandre

Description

@mcandre

Please implement directory recursion for Clang-Format. This helps to quickly format large C/C++ project directories.

As a workaround, UNIX users can write a custom shell script. But that would force WSL for Windows C/C++ developers.

As a workaround, cmake users can use a file ... GLOB_RECURSE ... directive. But not all C/C++ users use cmake.

Really, I would like to see cpplint do this work automatically.

Start with the conventional filenames: .c, .cpp, .h, .hpp, and introduce other common file extensions such as .cc, .cxx, .hxx, case insensitivity, and so on.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions