···11-CompileFlags:
22- # Let clangd see your real warnings from compile_commands.json
33- # and also apply these extra default flags:
44- Add: [
55- "-std=c23",
66- "-Wall",
77- "-Wextra",
88- "-Wpedantic",
99- "-Wshadow",
1010- "-Wconversion",
1111- "-Wuninitialized",
1212- "-Wundef",
1313- "-Werror=implicit-function-declaration"
1414- ]
1515-1616-Diagnostics:
1717- # Enable ALL clang compiler diagnostics (this is the big one)
1818- ClangTidy:
1919- Add:
2020- - clang-diagnostic-* # enables clang's own warnings
2121- - clang-analyzer-* # enables static analyzer checks
2222- - bugprone-assign-if-reversed
2323- - bugprone-signal-handler
2424- - bugprone-suspicious-memory-comparison
2525- - readability-misleading-indentation
2626-2727- Remove:
2828- # Remove C++-only checks that annoy C programmers.
2929- - modernize-*
3030- - cppcoreguidelines-*
3131- - readability-identifier-naming
3232- - readability-magic-numbers
3333- - llvm-*
3434- - hicpp-*
3535- - google-*
3636- - performance-*
3737- - portability-*
3838- - misc-non-private-member-variables-in-classes
3939-4040- # Make warnings more like the real clang compiler
4141- MissingIncludes: true
4242- UnusedIncludes: true
4343-4444-# Use the default formatter
4545-Formatting:
4646- Style: file
4747-4848-InlayHints:
4949- Enabled: true
+5
.gitignore
···22.jj/
33.git/
44target/
55+66+77+# Added by cargo
88+99+/target
+7
Cargo.lock
···11+# This file is automatically @generated by Cargo.
22+# It is not intended for manual editing.
33+version = 4
44+55+[[package]]
66+name = "clog"
77+version = "0.1.0"