[TySan] Don't report globals with incomplete types. (#121922)
[llvm-project.git] / clang / lib / Driver / ToolChains / SPIRVOpenMP.h
blob64404e2a28210a5d638aefd8c413fe86cb929a74
1 //===--- SPIRVOpenMP.h - SPIR-V OpenMP Tool Implementations ------*- 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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_SPIRV_OPENMP_H
10 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_SPIRV_OPENMP_H
12 #include "SPIRV.h"
13 #include "clang/Driver/Tool.h"
14 #include "clang/Driver/ToolChain.h"
16 namespace clang::driver::toolchains {
17 class LLVM_LIBRARY_VISIBILITY SPIRVOpenMPToolChain : public SPIRVToolChain {
18 public:
19 SPIRVOpenMPToolChain(const Driver &D, const llvm::Triple &Triple,
20 const ToolChain &HostTC, const llvm::opt::ArgList &Args);
22 void addClangTargetOptions(
23 const llvm::opt::ArgList &DriverArgs, llvm::opt::ArgStringList &CC1Args,
24 Action::OffloadKind DeviceOffloadingKind) const override;
26 const ToolChain &HostTC;
28 } // namespace clang::driver::toolchains
29 #endif