Skip to content

llvm-include-order check inconsistent with clang-format #53525

Closed
@sam-mccall

Description

@sam-mccall

clang-format wants:

#include "aaaaa.h"
#include "zzzzz.h"
#include "gtest/gtest.h"
#include <algorithm>
#include <vector>

(gtest is a group above system headers)

clang-tidy wants:

#include "aaaaa.h"
#include "zzzzz.h"
#include <algorithm>
#include "gtest/gtest.h"
#include <vector>

(gtest is grouped within system headers)

I think this went wrong in 5a9f386

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions