Skip to content

Commit

Permalink
More clang-tidy cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski committed Jan 18, 2025
1 parent b8ead97 commit 5515200
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Checks: >
-modernize-return-braced-init-list,
-modernize-loop-convert,
-modernize-use-designated-initializers,
-modernize-use-ranges,
-bugprone-suspicious-semicolon,
-bugprone-branch-clone,
-bugprone-sizeof-expression,
Expand All @@ -24,6 +25,8 @@ Checks: >
-bugprone-unchecked-optional-access,
-bugprone-assignment-in-if-condition,
-bugprone-switch-missing-default-case,
-bugprone-suspicious-stringview-data-usage,
-bugprone-return-const-ref-from-parameter,
-clang-analyzer-cplusplus.NewDelete*,
-clang-analyzer-cplusplus.InnerPointer,
-clang-analyzer-core.NullDereference,
Expand All @@ -37,6 +40,8 @@ Checks: >
-misc-use-anonymous-namespace,
-misc-include-cleaner,
-misc-header-include-cycle,
-misc-use-internal-linkage,
-performance-no-int-to-ptr,
-performance-enum-size,
-portability-simd-intrinsics
-portability-simd-intrinsics,
-performance-unnecessary-value-param
2 changes: 1 addition & 1 deletion source/ast/symbols/MemberSymbols.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ class BitTrie {
auto advance = [&](char c) {
SmallVector<TNode*> nextNodes;
for (auto node : nodes)
node->nextNodesFor(c, nextNodes, std::forward<TCallback>(callback));
node->nextNodesFor(c, nextNodes, callback);
nodes = std::move(nextNodes);
};

Expand Down

0 comments on commit 5515200

Please sign in to comment.