Skip to content

[[clang-format] Main header search algorithm should consider directories, not only file names #142505

Open
@EugeneZelenko

Description

@EugeneZelenko

Test case (test/gui/application.cpp):

#include "test/backend/application.h"
#include "test/gui/application.h"

Expected output:

#include "test/gui/application.h"
#include "test/backend/application.h"

Configuration:

BasedOnStyle: LLVM

I tried 19.1.1 and main (49d48c3).

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang-formatclang:toolingLibToolingenhancementImproving things as opposed to bug fixing, e.g. new or missing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions