mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 18:40:42 +08:00
8343e61795
This triggers on `assert(condition && "message")`, which we use fairly frequently.
13 lines
732 B
Plaintext
13 lines
732 B
Plaintext
// suppress all instances of varFuncNullUB: "Passing NULL after the last typed
|
|
// argument to a variadic function leads to undefined behaviour." That's
|
|
// because all the places we do this are valid and won't cause problems even
|
|
// on a ILP64 platform because we're careful about using NULL rather than 0.
|
|
varFuncNullUB
|
|
// Suppress the warning about unmatched suppressions. At the moment these
|
|
// warnings are emitted even when removing the suppression comment results in
|
|
// the warning being suppressed. In other words this unmatchedSuppression
|
|
// warnings are false positives.
|
|
unmatchedSuppression
|
|
// Suppress this one because it reports assert(condition && "message"), which we use all over the place
|
|
incorrectStringBooleanError
|