-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clangd
26 lines (23 loc) · 1.16 KB
/
.clangd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
CompileFlags: # Tweak the parse settings
Add:
- "-xc++"
- "-std=c++17"
Index:
Background: Build # Build a type + incoming reference index in the background
If: # Apply this config conditionally
PathExclude: .history/.*
# Diagnostics:
# # https://clang.llvm.org/extra/clang-tidy/
# ClangTidy:
# Add:
# - bugprone* # Checks that target bugprone code constructs.
# - clang-analyze* # Clang Static Analyzer checks.
# - concurrency* # Checks related to concurrent programming (including threads, fibers, coroutines, etc.).
# # - cppcoreguidelines* # Checks related to C++ Core Guidelines.
# - modernize* # Checks that advocate usage of modern (currently “modern” means “C++11”) language constructs.
# - performance* # Checks that target performance-related issues.
# - darwin*
# # - portability* # Checks that target portability-related issues that don’t relate to any particular coding style.
# # - readability* # Checks that target readability-related issues that don’t relate to any particular coding style.
# Remove:
# - modernize-use-trailing-return-type