JDevlieghere added inline comments.

================
Comment at: lldb/include/lldb/Utility/FileSpec.h:420
+  ///   A std::vector of std::strings for each path component.
+  std::vector<std::string> GetComponents() const;
+
----------------
I'm surprised this returns a vector of `std::string`s and not 
`llvm::StringRef`s. I would expect all the components to be part of the 
FileSpec's stored path. Even with the file and directory stored as separate 
`ConstString`s, that should be possible?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151399/new/

https://reviews.llvm.org/D151399

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to