FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib/.clang-tidy at blit · larsoner/matplotlib · GitHub
larsoner
matplotlib
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib
/
.clang-tidy
Copy path
More file actions
More file actions
Latest commit
History
History
History
36 lines (32 loc) · 1.14 KB
Breadcrumbs
matplotlib
/
.clang-tidy
Copy path
File metadata and controls
36 lines (32 loc) · 1.14 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
#
clang-tidy configuration for matplotlib's src/ directory.
#
#
Philosophy: enable checks that find real bugs (memory safety, undefined
#
behaviour, security) and suppress checks that are high-noise style rules
#
inappropriate for a C/C++ codebase that interfaces heavily with C APIs
#
(CPython, FreeType, libagg) via pybind11.
#
#
Run with:
#
clang-tidy -p <build_dir> --config-file=src/.clang-tidy <file>
Checks
:
>
bugprone-*,
clang-analyzer-*,
objc-*,
performance-move-const-arg,
performance-move-constructor-init,
performance-no-automatic-move,
portability-*,
-bugprone-assignment-in-if-condition,
-bugprone-easily-swappable-parameters,
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-macro-parentheses,
-bugprone-narrowing-conversions,
-bugprone-reserved-identifier,
-bugprone-throwing-static-initialization,
-clang-analyzer-optin.cplusplus.UninitializedObject,
-clang-analyzer-optin.performance.Padding,
#
Only report findings in matplotlib's own src/ headers, not in pybind11,
#
Python.h, agg, or other vendored includes.
HeaderFilterRegex
:
'
.*/matplotlib/src/.*
'
WarningsAsErrors
:
'
'
CheckOptions
:
[]
Back
|
FazBrowse Home
|
New Git URL