message: Remove duplicated method defn.
diff: @@ -308,64 +308,6 @@ bool HostInfoMacOSX::ComputeClangDirectory(FileSpec &lldb_shlib_spec,
  return true;
  }
  -bool HostInfoMacOSX::ComputeClangDirectory(FileSpec &lldb_shlib_spec,
  - FileSpec &file_spec, bool verify) {
  - std::string raw_path = lldb_shlib_spec.GetPath();
  -
  - auto rev_it = llvm::sys::path::rbegin(raw_path);
  - auto r_end = llvm::sys::path::rend(raw_path);
  -
  - // Check for a Posix-style build of LLDB.
  - while (rev_it != r_end) {
  - if (*rev_it == "LLDB.framework")
  - break;
  - ++rev_it;
  - }
  -
  - if (rev_it == r_end)
  - return HostInfoPosix::ComputeClangDirectory(file_spec);
  -
  - // Inside Xcode and in Xcode toolchains LLDB is always in lockstep
  - // with the Swift compiler, so it can reuse its Clang resource
  - // directory. This allows LLDB and the Swift compiler to share the
  - // same Clang module cache.
  - llvm::SmallString<256> clang_path;
  - const char *swift_clang_resource_dir = "usr/lib/swift/clang";
  - auto parent = std::next(rev_it);
  - if (parent != r_end && *parent == "SharedFrameworks") {
  - // This is the top-level LLDB in the Xcode.app bundle.
  - // e.g., "Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A"
  - raw_path.resize(parent - r_end);
  - llvm::sys::path::append(clang_path, raw_path,
  - "Developer/Toolchains/XcodeDefault.xctoolchain",
  - swift_clang_resource_dir);
  - if (!verify || VerifyClangPath(clang_path)) {
  - file_spec.SetFile(clang_path.c_str(), true);
  - return true;
  - }
  - } else if (parent != r_end && *parent == "PrivateFrameworks" &&
  - std::distance(parent, r_end) > 2) {
  - // This is LLDB inside an Xcode toolchain.
  - // e.g., "Xcode.app/Contents/Developer/Toolchains/" \
  - // "My.xctoolchain/System/Library/PrivateFrameworks/LLDB.framework"
  - ++parent;
  - ++parent;
  - raw_path.resize(parent - r_end);
  - llvm::sys::path::append(clang_path, raw_path, swift_clang_resource_dir);
  - if (!verify || VerifyClangPath(clang_path)) {
  - file_spec.SetFile(clang_path.c_str(), true);
  - return true;
  - }
  - } else {
  - raw_path.resize(rev_it - r_end);
  - }
  -
  - // Fall back to the Clang resource directory inside the framework.
  - raw_path.append("LLDB.framework/Resources/Clang");
  - file_spec.SetFile(raw_path.c_str(), true);
  - return true;
  -}
  -
  bool HostInfoMacOSX::ComputeSystemPluginsDirectory(FileSpec &file_spec) {
  FileSpec lldb_file_spec;
  if (!GetLLDBPath(lldb::ePathTypeLLDBShlibDir, lldb_file_spec))
  