Skip to content

Add clang-tools to required tools for ci_static_analysis_clang - #3724

Merged
nlohmann merged 16 commits into
developfrom
fix_pipeline
Sep 13, 2022
Merged

nlohmann merged 16 commits into
developfrom
fix_pipeline

Conversation

@nlohmann

@nlohmann nlohmann commented Sep 6, 2022

Copy link
Copy Markdown
Owner

Fix build, see #3723 (comment)

@coveralls

coveralls commented Sep 6, 2022 •

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 1780203 on fix_pipeline into 307c053 on develop.

@falbrechtskirchinger

Copy link
Copy Markdown
Contributor

You can cancel my workflows since they're going to fail anyway.

@github-actions github-actions Bot added M and removed S labels Sep 6, 2022
@github-actions github-actions Bot added the tests label Sep 6, 2022
@github-actions github-actions Bot added L and removed M labels Sep 6, 2022

@falbrechtskirchinger falbrechtskirchinger left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I expected more cases where NOLINT might be needed.

I don't understand why variables that curiously always seem to appear in CHECK(var == ...) and can clearly be const are not being complained about.

Comment thread tests/src/unit-capacity.cpp Outdated
Comment thread tests/src/unit-32bit.cpp
Comment on lines +23 to +24
json const j(json::value_t::null);
json::const_iterator const it(&j);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine but is another one of those corner cases we should pay attention to in this PR.

Comment thread tests/src/unit-constructor1.cpp
Comment thread tests/src/unit-ubjson.cpp Outdated
Comment thread tests/src/unit-bjdata.cpp
Comment thread tests/src/unit-bjdata.cpp
Comment thread tests/src/unit-bjdata.cpp Outdated

@falbrechtskirchinger falbrechtskirchinger left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@nlohmann nlohmann added this to the Release 3.11.3 milestone Sep 13, 2022
@nlohmann
nlohmann merged commit 58bd97e into develop Sep 13, 2022
@nlohmann
nlohmann deleted the fix_pipeline branch September 13, 2022 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants