summaryrefslogtreecommitdiff
path: root/.clang-tidy
AgeCommit message (Collapse)Author
2022-01-09Meta: Disable readability-use-anyofallof clang-tidy checkHendiadyoin1
2021-12-10Meta: Enable the "bugprone-dangling-handle" clang-tidy checkIdan Horowitz
This should catch (the trivial cases of) construction of StringViews from temporary Strings and the construction of Spans from temporary Vectors.
2021-11-21Meta: Disable "readability-identifier-length" clang-tidy checksAndreas Kling
Short identifier names like "i", "x", "fd" are fairly common and fine.
2021-11-14Meta: Add basic clang-tidy configurationAndrew Kaster
Add a basic clang-tidy configuration that enables checks from the following categories: - bugprone - cert - clang-analyzer - concurrency - misc - performance - portability - readability The noisiest rules that have conflicts with the project style guide or accepted practices have been turned off. There's absolutely more work to be done here before we could consider setting any of these warnings as errors and enforcing them in CI, but committing a project clang-tidy configuration should help the rules become more visible and let other contributors take a crack at tweaking rules and/or finding possible bugs. Sadly the cpp-core-guidelines and modernize categories are very, very noisy. If we want to enable rules from these categories, they would need to be on a rule by rule basis.