9#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_LAZYDETECTOR_H
10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_LAZYDETECTOR_H
24 const llvm::opt::ArgList &Args;
26 std::optional<T> Detector;
30 const llvm::opt::ArgList &Args)
31 :
D(
D), Triple(Triple), Args(Args) {}
34 Detector.emplace(
D, Triple, Args);
38 return const_cast<T const *
>(
Simple wrapper for toolchain detector with costly initialization.
LazyDetector(const driver::Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
const T * operator->() const
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
The JSON file list parser is used to communicate input to InstallAPI.
const FunctionProtoType * T