File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,13 @@ Diagnostics which have a corresponding warning option, are named
111111``-Wliteral-conversion `` will be reported with check name
112112``clang-diagnostic-literal-conversion ``.
113113
114+ Clang compiler errors (such as syntax errors, semantic errors, or other failures
115+ that prevent Clang from compiling the code) are reported with the check name
116+ ``clang-diagnostic-error ``. These represent fundamental compilation failures that
117+ must be fixed before :program: `clang-tidy ` can perform its analysis. Unlike other
118+ diagnostics, ``clang-diagnostic-error `` cannot be disabled, as :program: `clang-tidy `
119+ requires valid code to function.
120+
114121The ``-fix `` flag instructs :program: `clang-tidy ` to fix found errors if
115122supported by corresponding checks.
116123
You can’t perform that action at this time.
0 commit comments