brintos

brintos / llvm-project-archived public Read only

0
0
Text · 505 B · ed0bb29 Raw
14 lines · plain
1.. title:: clang-tidy - objc-super-self2 3objc-super-self4===============5 6Finds invocations of ``-self`` on super instances in initializers of subclasses7of ``NSObject`` and recommends calling a superclass initializer instead.8 9Invoking ``-self`` on super instances in initializers is a common programmer10error when the programmer's original intent is to call a superclass11initializer. Failing to call a superclass initializer breaks initializer12chaining and can result in invalid object initialization.13 14