llvm / llvm/llvm-project

[clang-tools-extra] Make clang print include paths without `../` jumps

Open Beginner friendly
#167,927 2 comments 0 reactions 0 assignees View on GitHub
clang-tidy clang-tools-extra code-quality
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

See https://github.com/llvm/llvm-project/pull/167020#discussion_r2505506435.
We essentially need to remove this line:
https://github.com/llvm/llvm-project/blob/5e4505d562528992e25792463affb23518cacf86/clang-tools-extra/clang-tidy/.clang-tidy#L3

Contributor guide

Open the contributing guide

Research direction

Start with clang-tools-extra/clang-tidy/.clang-tidy at line 3 and read the linked pull-request discussion for the intended behavior. Remove the referenced configuration line, then verify that clang prints include paths without ../ jumps.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.