clang 22.0.0git
SyclInstallationDetector.h
Go to the documentation of this file.
1//===-- SyclInstallationDetector.h - SYCL Instalation Detector --*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_CLANG_DRIVER_SYCLINSTALLATIONDETECTOR_H
10#define LLVM_CLANG_DRIVER_SYCLINSTALLATIONDETECTOR_H
11
12#include "clang/Driver/Driver.h"
13
14namespace clang {
15namespace driver {
16
18public:
19 SYCLInstallationDetector(const Driver &D, const llvm::Triple &HostTriple,
20 const llvm::opt::ArgList &Args);
21
22 void addSYCLIncludeArgs(const llvm::opt::ArgList &DriverArgs,
23 llvm::opt::ArgStringList &CC1Args) const;
24};
25
26} // namespace driver
27} // namespace clang
28
29#endif // LLVM_CLANG_DRIVER_SYCLINSTALLATIONDETECTOR_H
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
Definition Driver.h:99
SYCLInstallationDetector(const Driver &D, const llvm::Triple &HostTriple, const llvm::opt::ArgList &Args)
Definition SYCL.cpp:17
void addSYCLIncludeArgs(const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args) const
Definition SYCL.cpp:21
The JSON file list parser is used to communicate input to InstallAPI.