]> git.ipfire.org Git - thirdparty/vectorscan.git/commit
Bug fix/clang-tidy-performance (#300)
authorgtsoul-tech <56584633+gtsoul-tech@users.noreply.github.com>
Thu, 20 Jun 2024 11:57:19 +0000 (14:57 +0300)
committerGitHub <noreply@github.com>
Thu, 20 Jun 2024 11:57:19 +0000 (14:57 +0300)
commit0f4369bf221e4f25089aacb5e6f2216eabda1314
tree5509dcd11ee1c18c32d349643839139bad55f3ee
parent0e0c9f8c630ba0fa96444b025e5a9e069a2d20b3
Bug fix/clang-tidy-performance (#300)

Various clang-tidy-performance fixes:
* noexcept
* performance-noexcept-swap
* performance
* performance-move-const-arg
* performance-unnecessary-value-param
* performance-inefficient-vector-operation
* performance-no-int-to-ptr
* add performance
* performance-inefficient-string-concatenation
* clang-analyzer-deadcode.DeadStores
* performance-inefficient-vector-operation
* clang-analyzer-core.NullDereference
* clang-analyzer-core.UndefinedBinaryOperatorResult
* clang-analyzer-core.CallAndMessage

---------

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
40 files changed:
.clang-tidy
examples/patbench.cc
examples/pcapscan.cc
src/fdr/fdr.c
src/nfa/goughcompile_dump.cpp
src/nfa/limex_compile.cpp
src/nfa/sheng_impl.h
src/nfa/sheng_impl4.h
src/nfa/truffle_simd.hpp
src/nfa/vermicelli_sve.h
src/nfagraph/ng_limex_accel.cpp
src/nfagraph/ng_literal_analysis.cpp
src/nfagraph/ng_mcclellan.cpp
src/parser/parse_error.h
src/rose/program_runtime.c
src/rose/rose_build_bytecode.cpp
src/rose/rose_build_instructions.h
src/rose/rose_build_lookaround.cpp
src/rose/rose_build_matchers.cpp
src/rose/rose_build_matchers.h
src/rose/rose_build_program.cpp
src/rose/rose_build_program.h
src/rose/rose_in_graph.h
src/som/slot_manager_internal.h
src/ue2common.h
src/util/bytecode_ptr.h
src/util/flat_containers.h
src/util/insertion_ordered.h
src/util/ue2_graph.h
src/util/ue2string.h
src/util/unicode_set.h
tools/hsbench/huge.cpp
tools/hscheck/main.cpp
tools/hsdump/main.cpp
unit/hyperscan/bad_patterns.cpp
unit/hyperscan/test_util.h
util/cross_compile.cpp
util/database_util.cpp
util/expressions.cpp
util/ng_corpus_generator.h