๐Ÿ“ฆ L-Sun / HitagiEngine

๐Ÿ“„ .clangd ยท 25 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25CompileFlags:
  Add: [-std:c++latest, -W4, -Wno-missing-prototypes]
  # Remove extra warnings specified in compile commands.
  # Single value is also acceptable, same as "Remove: [-mabi]"
  Compiler: clang-cl
Diagnostics:
  # Tweak Clang-Tidy checks.
  ClangTidy:
    Add:
      [
        performance*,
        modernize*,
        bugprone-use-after-move,
        cppcoreguidelines-avoid-goto,
        cppcoreguidelines-prefer-member-initializer,
        cppcoreguidelines-avoid-c-arrays,
      ]
    Remove:
      [
        modernize-use-trailing-return-type,
        modernize-use-nodiscard,
        performance-no-int-to-ptr,
      ]
  UnusedIncludes: Strict