Skip to content

Commit 69f0380

Browse files
authored
Merge pull request #4912 from apple/egorzhdan/toolchain-next
🍒[cxx-interop] Allow Swift to get a Clang Toolchain from the Driver
2 parents 593b6a2 + 22c38f0 commit 69f0380

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/include/clang/Driver/Driver.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ class Driver {
692692
/// compilation based on which -f(no-)?lto(=.*)? option occurs last.
693693
void setLTOMode(const llvm::opt::ArgList &Args);
694694

695+
public:
695696
/// Retrieves a ToolChain for a particular \p Target triple.
696697
///
697698
/// Will cache ToolChains for the life of the driver object, and create them
@@ -700,6 +701,7 @@ class Driver {
700701
const llvm::Triple &Target) const;
701702

702703
/// @}
704+
private:
703705

704706
/// Retrieves a ToolChain for a particular device \p Target triple
705707
///

0 commit comments

Comments
 (0)