clang 20.0.0git
SemaSPIRV.h
Go to the documentation of this file.
1//===----- SemaSPIRV.h ----- Semantic Analysis for SPIRV constructs--------===//
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/// \file
9/// This file declares semantic analysis for SPIRV constructs.
10///
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_CLANG_SEMA_SEMASPIRV_H
14#define LLVM_CLANG_SEMA_SEMASPIRV_H
15
16#include "clang/AST/ASTFwd.h"
17#include "clang/Sema/SemaBase.h"
18
19namespace clang {
20class SemaSPIRV : public SemaBase {
21public:
22 SemaSPIRV(Sema &S);
23
24 bool CheckSPIRVBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
25};
26} // namespace clang
27
28#endif // LLVM_CLANG_SEMA_SEMASPIRV_H
Forward declaration of all AST node types.
CallExpr - Represents a function call (C99 6.5.2.2, C++ [expr.call]).
Definition: Expr.h:2874
bool CheckSPIRVBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall)
Definition: SemaSPIRV.cpp:19
Sema - This implements semantic analysis and AST building for C.
Definition: Sema.h:464
The JSON file list parser is used to communicate input to InstallAPI.