Issue |
146904
|
Summary |
[Clang] `_Nonnull` attribute on return value isn't propagated from declaration to definition
|
Labels |
clang,
clang:diagnostics
|
Assignees |
|
Reporter |
bricknerb
|
Reproduce: https://gcc.godbolt.org/z/7q3Kd55f6
I would expect a warning saying that definition doesn't match declaration or a warning on returning null on a `_Nonnull` return type.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs