-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clang-tidy
fixes, typo fixes, more readable code
... , no functional changes* (expect all output equal to output from last commit, which is `HEAD~1`). [*The fix for `produceAssistantCns` changes `assistantCns.neuronsPerLayer` from `26666` to `maxWidthOfMessages`, but `assistantCns` is for future use.] ?`build.sh`: `CXXFLAGS_ANALYSIS`: -`-Wno-unused`, +`-Wno-unused-function`, +`-Wppedantic`. Is for issue #27 (more close to `-Werror` support). Is followup to: 64ca540 (?build.sh:+CXX_FLAGS_ANALYSIS="-Wall ...) ?`cxx/main.hxx`: ?`susuwuUnitTestsClassResultListBit`: `:%s/Sys/ResultList/`; comment fix. Is followup to: 2e01c08 (+`cxx/ClassResultList.cxx`: +`classResultListTests` ... +`susuwuUnitTestsClassResultListTestsBit`), which introduced the comment (plus `susuwuUnitTestsClassResultListBit`). ?`cxx/ClassResultList.hxx`: ?`listProduceSignature()`: mismatched '{' (in comment) fix. Is followup to: commit 30521ed (... ?listProduceSignature() ...), which mismatched that. ?`cxx/ClassSys.hxx`: "warning: #includes are not sorted properly [llvm-include-order]" fix. Is followup to d50262f (+`classSysGetOwnPath()`, +`classSysFopenOwnPath()`), which triggered the diagnostic. ?`cxx/AssistantCns.hxx`: "warning: #includes are not sorted properly [llvm-include-order]" fix. Is followup to d3dd3e3 (?cxx/ClassSys.hxx:templateMatchAll Print funcName), which triggered the diagnostic. ?`cxx/AssistantCns.cxx`: Remove `execvex` from `#include ClassCns.hxx` comment. Is followup to 69e3329 (+cxx/ClassSys.{h,c}xx +`execves` +`execvex`), which moved `execvex` into `ClassSys.hxx`. ?`assistantCnsProcessXhtml`: "string concatenation results in allocation of unnecessary temporary strings; consider using 'operator+=' or 'string::append()' instead [performance-inefficient-string-concatenation]" fix. ?`produceAssistantCns`: "warning: 26666 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]" fix. Is followup to f5a7a37 (...`cxx/VirusAnalysis.cxx`: ... `warning: 26666 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]` fix), which should have fixed `produceAssistantCns` too. ?`cxx/VirusAnalysis.cxx`: ?`produceAbortListSignatures`: more readable; don't use raw `std::get<0>(tuple)`. ?`posts/VirusAnalysis.md`: Include all this.
- Loading branch information
1 parent
af5226c
commit b8023f3
Showing
8 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters