Files
clang-p2996/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
Arseniy Zaostrovnykh 4f33e7c683 [analyzer] Report violations of the "returns_nonnull" attribute (#106048)
Make sure code respects the GNU-extension `__attribute__((returns_nonnull))`.

Extend the NullabilityChecker to check that a function returns_nonnull
does not return a nullptr.

This commit also reverts an old hack introduced by
49bd58f1eb
because it is no longer needed

CPP-4741
2024-08-27 14:41:52 +02:00

54 KiB