Skip to content

Commit 116acf4

Browse files
authored
Merge pull request #4910 from apple/egorzhdan/toolchain-stable20211026
[cxx-interop] Allow Swift to get a Clang Toolchain from the Driver
2 parents 727c105 + 765ae34 commit 116acf4

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
@@ -598,6 +598,7 @@ class Driver {
598598
/// compilation based on which -f(no-)?lto(=.*)? option occurs last.
599599
void setLTOMode(const llvm::opt::ArgList &Args);
600600

601+
public:
601602
/// Retrieves a ToolChain for a particular \p Target triple.
602603
///
603604
/// Will cache ToolChains for the life of the driver object, and create them
@@ -606,6 +607,7 @@ class Driver {
606607
const llvm::Triple &Target) const;
607608

608609
/// @}
610+
private:
609611

610612
/// Get bitmasks for which option flags to include and exclude based on
611613
/// the driver mode.

0 commit comments

Comments
 (0)