13#ifndef LLVM_CLANG_SEMA_SEMASYCL_H
14#define LLVM_CLANG_SEMA_SEMASYCL_H
21#include "llvm/ADT/DenseSet.h"
52 llvm::DenseSet<QualType>
Visited,
Forward declaration of all AST node types.
llvm::DenseSet< const void * > Visited
Defines the clang::SourceLocation class and associated facilities.
C Language Family Type Representation.
Decl - This represents one declaration (or definition), e.g.
ParsedAttr - Represents a syntactic attribute.
A generic diagnostic builder for errors which may or may not be deferred.
SemaDiagnosticBuilder DiagIfDeviceCode(SourceLocation Loc, unsigned DiagID)
Creates a SemaDiagnosticBuilder that emits the diagnostic if the current context is "used as device c...
ExprResult BuildUniqueStableNameExpr(SourceLocation OpLoc, SourceLocation LParen, SourceLocation RParen, TypeSourceInfo *TSI)
void handleKernelEntryPointAttr(Decl *D, const ParsedAttr &AL)
void deepTypeCheckForDevice(SourceLocation UsedAt, llvm::DenseSet< QualType > Visited, ValueDecl *DeclToCheck)
void handleKernelAttr(Decl *D, const ParsedAttr &AL)
ExprResult ActOnUniqueStableNameExpr(SourceLocation OpLoc, SourceLocation LParen, SourceLocation RParen, ParsedType ParsedTy)
Sema - This implements semantic analysis and AST building for C.
Encodes a location in the source.
A container of type source information.
Represent the declaration of a variable (in which case it is an lvalue) a function (in which case it ...
@ Decl
The l-value was an access to a declared entity or something equivalently strong, like the address of ...
The JSON file list parser is used to communicate input to InstallAPI.