clang
19.0.0git
|
Public Member Functions | |
DiagDeviceFunction (SemaSYCL &S, const llvm::SmallPtrSetImpl< const FunctionDecl * > &RecursiveFuncs) | |
void | CheckBody (Stmt *ToBeDiagnosed) |
bool | VisitCallExpr (CallExpr *e) |
bool | VisitCXXTypeidExpr (CXXTypeidExpr *E) |
bool | VisitCXXDynamicCastExpr (const CXXDynamicCastExpr *E) |
bool | TraverseVarDecl (VarDecl *VD) |
bool | TraverseTemplateArgumentLoc (const TemplateArgumentLoc &ArgLoc) |
bool | TraverseStaticAssertDecl (StaticAssertDecl *D) |
bool | TraverseCaseStmt (CaseStmt *S) |
bool | TraverseConstantArrayTypeLoc (const ConstantArrayTypeLoc &ArrLoc) |
bool | TraverseIfStmt (IfStmt *S) |
Public Member Functions inherited from clang::RecursiveASTVisitor< DiagDeviceFunction > | |
DiagDeviceFunction & | getDerived () |
Return a reference to the derived class. More... | |
bool | shouldVisitTemplateInstantiations () const |
Return whether this visitor should recurse into template instantiations. More... | |
bool | shouldWalkTypesOfTypeLocs () const |
Return whether this visitor should recurse into the types of TypeLocs. More... | |
bool | shouldVisitImplicitCode () const |
Return whether this visitor should recurse into implicit code, e.g., implicit constructors and destructors. More... | |
bool | shouldVisitLambdaBody () const |
Return whether this visitor should recurse into lambda body. More... | |
bool | shouldTraversePostOrder () const |
Return whether this visitor should traverse post-order. More... | |
bool | TraverseAST (ASTContext &AST) |
Recursively visits an entire AST, starting from the TranslationUnitDecl. More... | |
bool | TraverseStmt (Stmt *S, DataRecursionQueue *Queue=nullptr) |
Recursively visit a statement or expression, by dispatching to Traverse*() based on the argument's dynamic type. More... | |
bool | dataTraverseStmtPre (Stmt *S) |
Invoked before visiting a statement or expression via data recursion. More... | |
bool | dataTraverseStmtPost (Stmt *S) |
Invoked after visiting a statement or expression via data recursion. More... | |
bool | TraverseType (QualType T) |
Recursively visit a type, by dispatching to Traverse*Type() based on the argument's getTypeClass() property. More... | |
bool | TraverseTypeLoc (TypeLoc TL) |
Recursively visit a type with location, by dispatching to Traverse*TypeLoc() based on the argument type's getTypeClass() property. More... | |
bool | TraverseAttr (Attr *At) |
Recursively visit an attribute, by dispatching to Traverse*Attr() based on the argument's dynamic type. More... | |
bool | TraverseDecl (Decl *D) |
Recursively visit a declaration, by dispatching to Traverse*Decl() based on the argument's dynamic type. More... | |
bool | TraverseNestedNameSpecifier (NestedNameSpecifier *NNS) |
Recursively visit a C++ nested-name-specifier. More... | |
bool | TraverseNestedNameSpecifierLoc (NestedNameSpecifierLoc NNS) |
Recursively visit a C++ nested-name-specifier with location information. More... | |
bool | TraverseDeclarationNameInfo (DeclarationNameInfo NameInfo) |
Recursively visit a name with its location information. More... | |
bool | TraverseTemplateName (TemplateName Template) |
Recursively visit a template name and dispatch to the appropriate method. More... | |
bool | TraverseTemplateArgument (const TemplateArgument &Arg) |
Recursively visit a template argument and dispatch to the appropriate method for the argument type. More... | |
bool | TraverseTemplateArgumentLoc (const TemplateArgumentLoc &ArgLoc) |
Recursively visit a template argument location and dispatch to the appropriate method for the argument type. More... | |
bool | TraverseTemplateArguments (ArrayRef< TemplateArgument > Args) |
Recursively visit a set of template arguments. More... | |
bool | TraverseCXXBaseSpecifier (const CXXBaseSpecifier &Base) |
Recursively visit a base specifier. More... | |
bool | TraverseConstructorInitializer (CXXCtorInitializer *Init) |
Recursively visit a constructor initializer. More... | |
bool | TraverseLambdaCapture (LambdaExpr *LE, const LambdaCapture *C, Expr *Init) |
Recursively visit a lambda capture. More... | |
bool | TraverseSynOrSemInitListExpr (InitListExpr *S, DataRecursionQueue *Queue=nullptr) |
Recursively visit the syntactic or semantic form of an initialization list. More... | |
bool | TraverseObjCProtocolLoc (ObjCProtocolLoc ProtocolLoc) |
Recursively visit an Objective-C protocol reference with location information. More... | |
bool | TraverseConceptReference (ConceptReference *CR) |
Recursively visit concept reference with location information. More... | |
bool | VisitConceptReference (ConceptReference *CR) |
bool | VisitAttr (Attr *A) |
Stmt::child_range | getStmtChildren (Stmt *S) |
bool | WalkUpFromStmt (Stmt *S) |
bool | VisitStmt (Stmt *S) |
bool | WalkUpFromType (Type *T) |
bool | VisitType (Type *T) |
bool | WalkUpFromTypeLoc (TypeLoc TL) |
bool | VisitTypeLoc (TypeLoc TL) |
bool | WalkUpFromQualifiedTypeLoc (QualifiedTypeLoc TL) |
bool | VisitQualifiedTypeLoc (QualifiedTypeLoc TL) |
bool | WalkUpFromUnqualTypeLoc (UnqualTypeLoc TL) |
bool | VisitUnqualTypeLoc (UnqualTypeLoc TL) |
bool | WalkUpFromDecl (Decl *D) |
bool | VisitDecl (Decl *D) |
bool | canIgnoreChildDeclWhileTraversingDeclContext (const Decl *Child) |
bool | TraverseTypeConstraint (const TypeConstraint *C) |
bool | TraverseConceptRequirement (concepts::Requirement *R) |
bool | TraverseConceptTypeRequirement (concepts::TypeRequirement *R) |
bool | TraverseConceptExprRequirement (concepts::ExprRequirement *R) |
bool | TraverseConceptNestedRequirement (concepts::NestedRequirement *R) |
bool | dataTraverseNode (Stmt *S, DataRecursionQueue *Queue) |
Additional Inherited Members | |
Public Types inherited from clang::RecursiveASTVisitor< DiagDeviceFunction > | |
typedef SmallVectorImpl< llvm::PointerIntPair< Stmt *, 1, bool > > | DataRecursionQueue |
A queue used for performing data recursion over statements. More... | |
Definition at line 563 of file SemaSYCL.cpp.
|
inline |
Definition at line 568 of file SemaSYCL.cpp.
|
inline |
Definition at line 573 of file SemaSYCL.cpp.
Definition at line 665 of file SemaSYCL.cpp.
|
inline |
Definition at line 671 of file SemaSYCL.cpp.
Definition at line 675 of file SemaSYCL.cpp.
|
inline |
Definition at line 661 of file SemaSYCL.cpp.
|
inline |
Definition at line 655 of file SemaSYCL.cpp.
Definition at line 647 of file SemaSYCL.cpp.
References clang::VarDecl::isConstexpr().
Definition at line 575 of file SemaSYCL.cpp.
References clang::SemaBase::Diag(), clang::CallExpr::getDirectCallee(), clang::Expr::getExprLoc(), clang::SemaBase::getLangOpts(), IsSyclMathFunc(), clang::SemaSYCL::KernelCallDllimportFunction, clang::SemaSYCL::KernelCallRecursiveFunction, and clang::SemaSYCL::KernelCallVirtualFunction.
|
inline |
Definition at line 640 of file SemaSYCL.cpp.
References clang::SemaBase::Diag(), clang::Expr::getExprLoc(), and clang::SemaSYCL::KernelRTTI.
|
inline |
Definition at line 634 of file SemaSYCL.cpp.
References clang::SemaBase::Diag(), clang::Expr::getExprLoc(), and clang::SemaSYCL::KernelRTTI.