Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lint] Disable modernize-use-nodiscard (pytorch#68354)
Summary: Pull Request resolved: pytorch#68354 Lint rule: https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nodiscard.html This check adds a ton of noise to our diffs. `[[nodiscard]]` is typically only useful when ignoring the return value of a function is a critical error, e.g. for `operator new`. Test Plan: Verified that the lint does not get triggered Reviewed By: hlu1 Differential Revision: D32429731 fbshipit-source-id: ca3d90686ec8d419d3f96167140dc406df6f4a53
- Loading branch information