lint: port deref nullptr diagnostics
Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
parent
2e563a4a3e
commit
5524ca1a1d
2 changed files with 5 additions and 2 deletions
|
@ -393,3 +393,6 @@ lint-builtin-clashing-extern-same-name = `{$this_fi}` redeclared with a differen
|
|||
lint-builtin-clashing-extern-diff-name = `{$this_fi}` redeclares `{$orig}` with a different signature
|
||||
.previous-decl-label = `{$orig}` previously declared here
|
||||
.mismatch-label = this signature doesn't match the previous declaration
|
||||
|
||||
lint-builtin-deref-nullptr = dereferencing a null pointer
|
||||
.label = this code causes undefined behavior when executed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue