Skip to content

Commit

Permalink
Merge pull request #2235 from joto/nodiscard-msg
Browse files Browse the repository at this point in the history
We are not planning to litter the code with [[nodiscard]]
  • Loading branch information
joto authored Aug 19, 2024
2 parents 7968877 + effc556 commit 0de33f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ Checks: '*,-abseil-*,-altera-*,-android-cloexec-*,-bugprone-easily-swappable-par
# Lots of these, need some time to fix. (TODO)
#
# modernize-use-nodiscard
# We have a lot of these. Remove it for the time being because there are
# too many to fix quickly. (TODO)
# Doesn't really make the code clearer if it is all littered with
# [[nodiscard]]. Looks like this warning is more suited for a library
# than for normal code.
#
# modernize-use-trailing-return-type
# We are not that modern...
Expand Down

0 comments on commit 0de33f5

Please sign in to comment.