-
Notifications
You must be signed in to change notification settings - Fork 41
Dev/eglaser clang tidy solo #334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
ethanglaser
wants to merge
16
commits into
main
Choose a base branch
from
dev/eglaser-clang-tidy-solo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+150
−21
Draft
Changes from 12 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
e9fe91f
clang-tidy for runtime bindings
ethanglaser 5b0c7dc
address gnu/clang-tidy incompatibilities
ethanglaser fb3115e
further faiss alignment
ethanglaser e35a8e8
address errors
ethanglaser 45ec6cf
temporary try pip install of clang-toosl 17
ethanglaser 884219c
pip version tweak
ethanglaser 755ccfe
Merge branch 'main' into dev/eglaser-clang-tidy-solo
ethanglaser bdd955b
conda install instead
ethanglaser 89e842e
back to pip...
ethanglaser cdbdddd
install official clang-tidy 17 binary
ethanglaser 78005d9
use rhel8 tarball instead of ubuntu22
ethanglaser 3891e37
another pip attempt
ethanglaser ce259e7
add openmp extra arg based on review
ethanglaser f027ed8
Merge branch 'main' into dev/eglaser-clang-tidy-solo
ethanglaser ad2d800
drop omp due to absence from clang-tidy
ethanglaser 6e72e56
try pointing clang tidy and gcc headers (omp)
ethanglaser File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,60 @@ | ||
| Checks: "-*, | ||
| bugprone*, | ||
| -bugprone-easily-swappable-parameters, | ||
| -bugprone-macro-parentheses, | ||
| clang-analyzer*, | ||
| readability*, | ||
| -readability-magic-numbers, | ||
| -readability-identifier-length" | ||
| Checks: ' | ||
| -*, | ||
| bugprone-argument-comment, | ||
| bugprone-sizeof-*, | ||
| bugprone-use-after-move, | ||
| clang-diagnostic-*, | ||
| -clang-diagnostic-nrvo, | ||
| -clang-diagnostic-missing-designated-field-initializers, | ||
| cppcoreguidelines-pro-type-member-init, | ||
| cppcoreguidelines-special-member-functions, | ||
| google-build-using-namespace, | ||
| misc-definitions-in-headers, | ||
| modernize-use-emplace, | ||
| modernize-use-using, | ||
| performance-faster-string-find, | ||
| performance-for-range-copy, | ||
| performance-implicit-conversion-in-loop, | ||
| performance-inefficient-algorithm, | ||
| performance-inefficient-string-concatenation, | ||
| performance-inefficient-vector-operation, | ||
| performance-move-const-arg, | ||
| performance-move-constructor-init, | ||
| performance-no-automatic-move, | ||
| performance-no-int-to-ptr, | ||
| performance-noexcept-move-constructor, | ||
| performance-trivially-destructible, | ||
| performance-type-promotion-in-math-fn, | ||
| performance-unnecessary-copy-initialization, | ||
| performance-unnecessary-value-param, | ||
| readability-operators-representation, | ||
| readability-redundant-string-init, | ||
| readability-braces-around-statements, | ||
| ' | ||
|
|
||
| WarningsAsErrors: ' | ||
| bugprone-use-after-move, | ||
| ' | ||
|
|
||
| CheckOptions: | ||
| - key: readability-implicit-bool-conversion.AllowIntegerConditions | ||
| value: '1' | ||
| - key: bugprone-easily-swappable-parameters.MinimumLength | ||
| value: 4 | ||
| - key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor | ||
| value: true | ||
| - key: cppcoreguidelines-special-member-functions.AllowImplicitlyDeletedCopyOrMove | ||
| value: 1 | ||
| - key: modernize-use-using.IgnoreExternC | ||
| value: true | ||
| - key: performance-move-const-arg.CheckTriviallyCopyableMove | ||
| value: false | ||
| - key: performance-unnecessary-value-param.AllowedTypes | ||
| value: '[Pp]ointer$;[Pp]tr$;[Rr]ef(erence)?$' | ||
| - key: performance-unnecessary-copy-initialization.AllowedTypes | ||
| value: '[Pp]ointer$;[Pp]tr$;[Rr]ef(erence)?$' | ||
| - key: readability-operators-representation.BinaryOperators | ||
| value: '&&;&=;&;|;~;!;!=;||;|=;^;^=' | ||
| - key: readability-redundant-string-init.StringNames | ||
| value: '::std::basic_string' | ||
| - key: readability-named-parameter.InsertPlainNamesInForwardDecls | ||
| value: true | ||
| ... |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to internet resources, the build error:
/workspace/include/svs/lib/threads/threadpool.h:31:10: error: 'omp.h' file not found [clang-diagnostic-error]
Might be caused by missed clang version of OpenMP development package (e.g. libomp-17-dev).
Please update build files to enable OpenMP for clang-tidy.