Makes Lint less chatty:
I found in #17415 (closed) that Lint was printing out truly gigantic warnings, unmanageably huge, with repeated copies of the same thing.
This patch makes Lint less chatty, especially for warnings:
-
For warnings, I don't print details of the location, unless you add
-dppr-debug
. -
For errors, I still print all the info. They are fatal and stop exection, whereas warnings appear repeatedly.
-
I've made much less use of
AnExpr
inLintLocInfo
; the expression can be gigantic.