RosettaCommons / binder

Binder, tool for automatic generation of Python bindings
MIT License
321 stars 66 forks source link

Update class.cpp to avoid else after return #291

Closed andriish closed 7 months ago

andriish commented 8 months ago

Update class.cpp to avoid else after return

andriish commented 7 months ago

Also contains https://github.com/RosettaCommons/binder/pull/296

andriish commented 7 months ago

The rule clang complaining about is here:

https://clang.llvm.org/extra/clang-tidy/checks/readability/else-after-return.html

This in in the generated code.

andriish commented 7 months ago

@lyskov