1 .. title:: clang-tidy - readability-redundant-smartptr-get
3 readability-redundant-smartptr-get
4 ==================================
6 Find and remove redundant calls to smart pointer's ``.get()`` method.
12 ptr.get()->Foo() ==> ptr->Foo()
15 if (ptr.get() == nullptr) ... => if (ptr == nullptr) ...
18 .. option:: IgnoreMacros
20 If this option is set to `true` (default is `true`), the check will not warn
21 about calls inside macros.