summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChains.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Driver/ToolChains.h')
-rw-r--r--clang/lib/Driver/ToolChains.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/clang/lib/Driver/ToolChains.h b/clang/lib/Driver/ToolChains.h
index e63f3363d17..f14fc3e78e5 100644
--- a/clang/lib/Driver/ToolChains.h
+++ b/clang/lib/Driver/ToolChains.h
@@ -157,38 +157,6 @@ public:
protected:
GCCInstallationDetector GCCInstallation;
- // \brief A class to find a viable CUDA installation
-
- class CudaInstallationDetector {
- bool IsValid;
- std::string CudaInstallPath;
- std::string CudaLibPath;
- std::string CudaLibDevicePath;
- std::string CudaIncludePath;
-
- public:
- CudaInstallationDetector() : IsValid(false) {}
- void init(const Driver &D, const llvm::Triple &TargetTriple,
- const llvm::opt::ArgList &Args);
-
- /// \brief Check whether we detected a valid Cuda install.
- bool isValid() const { return IsValid; }
- /// \brief Print information about the detected CUDA installation.
- void print(raw_ostream &OS) const;
-
- /// \brief Get the detected Cuda installation path.
- StringRef getInstallPath() const { return CudaInstallPath; }
- /// \brief Get the detected Cuda Include path.
- StringRef getIncludePath() const { return CudaIncludePath; }
- /// \brief Get the detected Cuda library path.
- StringRef getLibPath() const { return CudaLibPath; }
- /// \brief Get the detected Cuda device library path.
- StringRef getLibDevicePath() const { return CudaLibDevicePath; }
- /// \brief Get libdevice file for given architecture
- };
-
- CudaInstallationDetector CudaInstallation;
-
public:
Generic_GCC(const Driver &D, const llvm::Triple &Triple,
const llvm::opt::ArgList &Args);
OpenPOWER on IntegriCloud