[Lldb-commits] [PATCH] D66227: [DebugLine] Improve path handling.
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 14 09:46:46 PDT 2019
aprantl added inline comments.
================
Comment at: lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:183
+ llvm::Optional<FileSpec::Style> style = FileSpec::GuessPathStyle(p);
+ return style ? *style : FileSpec::Style::native;
+}
----------------
you can just use llvm::Optional::getValueOr(FileSpec::Style::native) instead of this function.
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66227/new/
https://reviews.llvm.org/D66227
More information about the lldb-commits
mailing list