xbolva00 added a comment. I am not sure if "may" is ideal, it could suggest that compiler is not very sure and emits just some conservative message.
"not all paths in this non-void {function,block} return a value" gives some extra confidence that compiler knows there is a buggy control path. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69762/new/ https://reviews.llvm.org/D69762 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits