Skip to content

Add .clang-format file #123510

Closed
Closed
@workingjubilee

Description

@workingjubilee

Is it possible to add a .clang-format file to configure the whole llvm-wrapper? The exists code does not fit any preset styles of clang-format. I have asked at discord but get no response about what code convention the cpp code follows.

Originally posted by @Lambdaris in #123437 (comment)

@Zalathar mentioned we have no such automated infra in place. We have many open issues for removing this C++ code by effectively upstreaming our wrappers to LLVM, but I agree, we could start by enforcing a style.

Metadata

Metadata

Assignees

Labels

A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustC-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.WG-llvmWorking group: LLVM backend code generation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions