clang: clang::SemaSPIRV Class Reference (original) (raw)

#include "[clang/Sema/SemaSPIRV.h](SemaSPIRV%5F8h%5Fsource.html)"

Inheritance diagram for clang::SemaSPIRV:

Public Member Functions
SemaSPIRV (Sema &S)
bool CheckSPIRVBuiltinFunctionCall (unsigned BuiltinID, CallExpr *TheCall)
- Public Member Functions inherited from clang::SemaBase
SemaBase (Sema &S)
ASTContext & getASTContext () const
DiagnosticsEngine & getDiagnostics () const
const LangOptions & getLangOpts () const
SemaDiagnosticBuilder Diag (SourceLocation Loc, unsigned DiagID, bool DeferHint=false)
Emit a diagnostic.
SemaDiagnosticBuilder Diag (SourceLocation Loc, const PartialDiagnostic &PD, bool DeferHint=false)
Emit a partial diagnostic.
PartialDiagnostic PDiag (unsigned DiagID=0)
Build a partial diagnostic.

Detailed Description

Definition at line 20 of file SemaSPIRV.h.

Constructor & Destructor Documentation

clang::SemaSPIRV::SemaSPIRV ( Sema & S )

Member Function Documentation

CheckSPIRVBuiltinFunctionCall()

Definition at line 19 of file SemaSPIRV.cpp.

References clang::Sema::checkArgCount(), clang::Sema::Context, clang::SemaBase::Diag(), clang::Generic, clang::ActionResult< PtrTy, Compress >::get(), clang::CallExpr::getArg(), clang::Type::getAs(), clang::Stmt::getBeginLoc(), clang::Expr::getType(), clang::ASTContext::getVectorType(), clang::SemaBase::SemaRef, and clang::Expr::setType().


The documentation for this class was generated from the following files: