Also mention "basename" and "dirname" in Path.h since I tried
to find these functions by looking for these strings. It might
help others find them faster if the comments contain these strings.
No behavior change.
Differential D69458
lld/COFF: Simplify getOutputPath() using sys::path functions. thakis on Oct 25 2019, 8:12 PM. Authored by
Details Also mention "basename" and "dirname" in Path.h since I tried No behavior change.
Diff Detail
Event TimelineComment Actions LGTM
|
It seems that you can simplify this further to sys::path::stem(path) + (config->dll ? ".dll" : ".exe"), but I'm fine with this too.