Eugene.Zelenko added inline comments. ================ Comment at: source/API/SBSection.cpp:257 @@ +256,3 @@ + SectionSP section_sp(GetSP()); + if (section_sp.get()) + return section_sp->GetPermissions(); ---------------- You don't need to use get(), because smart pointers have http://en.cppreference.com/w/cpp/memory/shared_ptr/operator_bool. Will be good idea to remove it in other conditions in this file.
https://reviews.llvm.org/D24251 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits