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

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 7 12:36:54 PDT 2021


mgorny added inline comments.


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


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111340



More information about the cfe-commits mailing list