[PATCH] D111340: [Driver][NetBSD] Use ToolChain reference instead of getToolChain().

Frederic Cambus via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 8 01:30:23 PDT 2021


fcambus marked an inline comment as done.
fcambus added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/NetBSD.cpp:32
                                      const char *LinkingOutput) const {
   const Driver &D = getToolChain().getDriver();
 
----------------
mgorny wrote:
> Since you're doing it for the other method, maybe it'd make sense to define `ToolChain` here as well.
Makes sense, updated the diff.


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

https://reviews.llvm.org/D111340



More information about the cfe-commits mailing list