Skip to content

Commit

Permalink
chore: Bump llvm to 19
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Sep 24, 2024
1 parent 9eaf1e4 commit bbcead6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ BreakAdjacentStringLiterals: true
BreakAfterAttributes: Leave
BreakBeforeBinaryOperators: All
BreakBeforeInlineASMColon: OnlyMultiline
BreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
ColumnLimit: 120
Expand All @@ -44,6 +45,10 @@ IntegerLiteralSeparator:
IndentRequiresClause: true
IndentPPDirectives: AfterHash
InsertNewlineAtEOF: false
KeepEmptyLines:
AtEndOfFile: false
AtStartOfBlock: false
AtStartOfFile: false
LineEnding: LF
NamespaceIndentation: Inner
PackConstructorInitializers: NextLine
Expand Down
8 changes: 5 additions & 3 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Checks: >
*,
-abseil*,
-altera*,
-boost-use-ranges,
-cert-dcl21-cpp,
-fuchsia*,
-llvmlib*,
Expand All @@ -16,12 +17,13 @@ Checks: >
-readability-qualified-auto,
-readability-static-accessed-through-instance,
CheckOptions:
readability-identifier-length.IgnoredVariableNames: n|ch|_|id|to|t|u|i|j|k
readability-identifier-length.IgnoredParameterNames: n|ch|_|id|to|t|u|i|j|k
modernize-use-ranges.UseReversePip: true
readability-identifier-length.IgnoredVariableNames: n|ch|_|id|to|t|u|i|j|k|op
readability-identifier-length.IgnoredParameterNames: n|ch|_|id|to|t|u|i|j|k|op
# Force identifier naming: See https://clang.llvm.org/extra/clang-tidy/checks/readability/identifier-naming.html
# readability-identifier-naming.AbstractClassCase: Leading_upper_snake_case
# readability-identifier-naming.AggressiveDependentMemberLookup: false
# readability-identifier-naming.CheckAnonFieldInParent: True
# readability-identifier-naming.CheckAnonFieldInParent: true
# readability-identifier-naming.ClassCase: Leading_upper_snake_case
# readability-identifier-naming.ClassConstantCase: lower_case
# readability-identifier-naming.ClassMemberCase: lower_case
Expand Down
20 changes: 11 additions & 9 deletions .clangd
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
CompileFlags:
Remove: # Remove false positive errors when using g++-14 with c++20 or above standard
- '-fmodule*'
- '-fdeps-format*'
- "-fmodule*"
- "-fdeps-format*"
Diagnostics:
Suppress:
- 'type_unsupported'
- "type_unsupported"
ClangTidy:
# ClangTidy: See checks in file `.clang-tidy`
FastCheckFilter: Strict # Run only checks measured to be fast, https://clangd.llvm.org/config#fastcheckfilter
UnusedIncludes: Strict
Includes:
AnalyzeAngledIncludes: Yes # Enables detection of unused angled includes that are not from the standard library
# MissingIncludes: Strict # Uncomment it if required; might be too annoying
Index:
Background: Build
Expand All @@ -27,11 +29,11 @@ Hover:
# ---
# If:
# PathMatch:
# - 'test_98/.*'
# - 'test_14/.*'
# - "test_98/.*"
# - "test_14/.*"
# Diagnostics:
# ClangTidy:
# Remove:
# - '*-owning-memory'
# - '*-special-member-functions'
# - 'modernize*'
# Remove:
# - "*-owning-memory"
# - "*-special-member-functions"
# - "modernize*"

0 comments on commit bbcead6

Please sign in to comment.