0

Add .clangd

Clandg 18 enabled include-checker by default, which add a lot of noise
while working with Chromium. Add a .clangd to disable it.

Change-Id: Ida5aa6c752ce2c73a0d33c651a93561f36fc18c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5007621
Auto-Submit: Alexander Timin <altimin@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1229137}
This commit is contained in:
Alexander Timin
2023-11-27 02:27:38 +00:00
committed by Chromium LUCI CQ
parent 89251f48bd
commit 206069c1e1
3 changed files with 6 additions and 1 deletions

5
.clangd Normal file

@ -0,0 +1,5 @@
# Disable include-cleaner checks, as Chromium doesn't enforce them and they
# just create noise when working with clangd.
Diagnostics:
UnusedIncludes: None
MissingIncludes: None

1
.gitignore vendored

@ -73,7 +73,6 @@ v8.log
vs-chromium-project.txt
# Store android emulator artifacts, used by //tools/android/avd/avd.py
/.android_emulator/
/.clangd
/.clangd/
/.clangd-index/
# Settings directories for eclipse

1
OWNERS

@ -7,6 +7,7 @@ file://ATL_OWNERS
per-file .clang-format=thakis@chromium.org
per-file .clang-tidy=file://styleguide/c++/OWNERS
per-file .clangd=file://styleguide/c++/OWNERS
per-file .eslintrc.js=file://tools/web_dev_style/OWNERS
per-file .gitattributes=*
per-file .gitignore=*