You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TESTING.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,11 +110,20 @@ The clang-tidy configuration is designed to work with the MinGW-w64 cross-compil
110
110
111
111
### Troubleshooting
112
112
113
-
**Issue**: `compile_commands.json not found`
113
+
**Issue**: `compile_commands.json not found`
114
114
**Solution**: Run cmake configuration first: `cmake --preset <preset-name>`
115
115
116
-
**Issue**: clang-tidy reports errors in system headers
116
+
**Issue**: PCH file not found errors (e.g., `cmake_pch.cxx.pch' not found`)
117
+
**Solution**: The script now automatically strips precompiled header flags that are incompatible with clang-tidy. If you still encounter issues, ensure you're using the Python helper script which handles this automatically.
118
+
119
+
**Issue**: Command line too long on Windows
120
+
**Solution**: The script now processes files in batches of 50 to avoid Windows command line length limits. This happens automatically.
121
+
122
+
**Issue**: clang-tidy reports errors in system headers
117
123
**Solution**: The configuration should filter these out, but you can also use `--system-headers=false`
118
124
119
-
**Issue**: Too many warnings for legacy code
120
-
**Solution**: Use the `--include` flag to focus on specific directories or files you're working on
125
+
**Issue**: Too many warnings for legacy code
126
+
**Solution**: Use the `--include` flag to focus on specific directories or files you're working on
127
+
128
+
**Issue**: Script fails with relative paths
129
+
**Solution**: This has been fixed - the script now properly resolves relative paths. Make sure you're using the latest version.
0 commit comments