diff options
Diffstat (limited to 'git-hooks')
-rwxr-xr-x | git-hooks/sanitize-commit | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/git-hooks/sanitize-commit b/git-hooks/sanitize-commit index bea948c..58e8381 100755 --- a/git-hooks/sanitize-commit +++ b/git-hooks/sanitize-commit @@ -858,6 +858,9 @@ while (<DIFF>) { complain_ln("__OBJC__ will never be defined for non-Objective-C/C++ source files", "objc"); } } + if ($clike && /\bQ_CLANG_QDOC\b/) { + complain_ln("Using deprecated define Q_CLANG_QDOC; use Q_QDOC instead", "qdoc"); + } # Check for Unicode Bi-directional Override exploit characters. # See https://trojansource.codes/ # NB: data has been UTF-8 encoded by the time it gets here, |