[all-commits] [llvm/llvm-project] 7df458: Follow style configuration in clangd when insertin...
Harald-R via All-commits
all-commits at lists.llvm.org
Thu Jun 5 02:36:24 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7df458b4737edf385589ed79062079978d90200f
https://github.com/llvm/llvm-project/commit/7df458b4737edf385589ed79062079978d90200f
Author: Harald-R <rotuna.razvan at gmail.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M clang-tools-extra/clangd/IncludeCleaner.cpp
M clang-tools-extra/clangd/IncludeCleaner.h
M clang-tools-extra/clangd/ParsedAST.cpp
M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
Log Message:
-----------
Follow style configuration in clangd when inserting missing includes (#140594)
The missing include diagnostic has the capability to introduce the
necessary headers into the source file. However, it does not currently
follow the inclusion style found in the `.clangd` file. For example, if
the file explicitly mentions that headers should be include with angled
brackets, they could be included with quotes instead. More details in
https://github.com/llvm/llvm-project/issues/138740. This PR fixes this
gap, so that the style configuration is followed.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list