localspook wrote: > Fix it seems to be not applied in this case same as the compound stmt version > with brackets.
Looks like this is the responsible piece of code: https://github.com/llvm/llvm-project/blob/46aae011880428279b1b9e2df801d62ac4843a8b/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp#L250-L256 Would be good to add that snippet as a negative test case. https://github.com/llvm/llvm-project/pull/181878 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
