WebFreak001
42033dcc55
add BaseAnalyzerArguments to keep ctor changes sane
...
also immediately makes tokens a part of it
This struct can for example precompute token indices for line endings
2023-10-25 08:49:37 +02:00
WebFreak001
b115a6333a
also add byte indices to diagnostic ranges
...
For tools wanting to read from the source file this makes it much easier
to look up the code.
2023-06-29 17:43:30 +02:00
WebFreak001
5c2035ff76
add end line/column to warnings
2023-06-29 13:19:36 +02:00
WebFreak001
7809598da0
fix if_constraints_indent with broken/null tokens
...
Subtraction from t.line (which is unsigned) caused the while loop
to run nearly infinitely before, starving the system of memory as it
was allocating memory.
fixes #829
2021-05-10 18:28:24 +00:00
Eugene Wissner
3b9d608866
Track check name for error messages ( #769 )
...
* Track check name for error messages
* Assert BaseAnalyzer.getName() is implemented
2019-07-09 12:16:25 +02:00
BBasile
f585c383f1
update to dparse 0.10.x ( #713 )
2018-11-22 22:57:25 +01:00
Basile Burg
8c44dd5092
Set all checkers class "final"
2018-04-22 20:33:58 +02:00
Basile Burg
4231deb046
fix all cases of mixed tabs and spaces
2018-04-07 22:09:39 +02:00
Basile Burg
e807bd7456
fix case of self linting failure
2018-03-22 23:50:03 +01:00
Sebastian Wilzbach
cb073c3cf0
Add check for if constraint indendation
2018-03-22 21:03:10 +01:00