helps the compiler optimize
This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
to safely use wl_container_of with a class the class has to be no virtual functions, no inheritance, and uniform access control (e.g all public) work around this by putting this into a destroywrapper struct.
fixes #7318