Issue 91561
Summary `readability-else-after-return`/`llvm-else-after-return` warn on else after `if consteval`
Labels bug, good first issue, clang-tidy
Assignees
Reporter cjdb
    The following yields the aforementioned warnings, but they shouldn't.
```cpp
constexpr int f()
{
  if consteval {
    return 0;
  }
  else {
 return 1;
  }
}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to