[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang-tools-extra / docs / clang-tidy / checks / objc / dealloc-in-category.rst
blob6d889089fe20665f3beb32644a39cb92d2719ff4
1 .. title:: clang-tidy - objc-dealloc-in-category
3 objc-dealloc-in-category
4 ========================
6 Finds implementations of ``-dealloc`` in Objective-C categories. The category
7 implementation will override any ``-dealloc`` in the class implementation,
8 potentially causing issues.
10 Classes implement ``-dealloc`` to perform important actions to deallocate
11 an object. If a category on the class implements ``-dealloc``, it will
12 override the class's implementation and unexpected deallocation behavior
13 may occur.