-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Storage Engines
-
3
We have two files of know clang format and clang scan issues in the code, which are ignored by the tools. The script ignores changes when the line numbers don't match, but that means the .diff files become outdated, and when a new failure is introduced the mismatching line numbers are all output. Which makes it difficult to spot the specific issue that was introduced.
We should add a script that auto-updates the line numbers in the .diff files, when the lines move (or enhance the .diff files to not include line numbers, so they aren't sensitive to changes).
The files are: dist/s_clang-scan.diff and dist/s_clang-format.diff