Skip to content
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

Add NOLINT for String::copy #841

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

croemheld
Copy link

Description

This PR adds the NOLINT comment for the String::copy function to instruct clang-tidy not to diagnose this function. More specifically, it instructs clang-tidy only not to report the clang-analyzer-cplusplus.NewDeleteLeaks warning.
This fix was made to conclude the issue #484 together with #659.

GitHub Issues

Closes #484

Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3a01ec3) 92.11% compared to head (0265c07) 92.11%.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #841   +/-   ##
=======================================
  Coverage   92.11%   92.11%           
=======================================
  Files           2        2           
  Lines        2168     2168           
=======================================
  Hits         1997     1997           
  Misses        171      171           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@croemheld croemheld force-pushed the fix-string-copy-for-clang-tidy branch 2 times, most recently from cce94f8 to 0265c07 Compare January 25, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant