clang 20.0.0git
|
#include "clang/Sema/SemaBPF.h"
Public Member Functions | |
SemaBPF (Sema &S) | |
bool | CheckBPFBuiltinFunctionCall (unsigned BuiltinID, CallExpr *TheCall) |
void | handlePreserveAIRecord (RecordDecl *RD) |
void | handlePreserveAccessIndexAttr (Decl *D, const ParsedAttr &AL) |
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. | |
Additional Inherited Members | |
Public Attributes inherited from clang::SemaBase | |
Sema & | SemaRef |
clang::SemaBPF::SemaBPF | ( | Sema & | S | ) |
Definition at line 25 of file SemaBPF.cpp.
Definition at line 111 of file SemaBPF.cpp.
References clang::Sema::checkArgCount(), clang::SemaBase::Diag(), clang::CallExpr::getArg(), clang::SemaBase::getASTContext(), clang::Stmt::getBeginLoc(), clang::Expr::getIntegerConstantExpr(), clang::Stmt::getSourceRange(), clang::isValidPreserveEnumValueArg(), clang::isValidPreserveFieldInfoArg(), clang::isValidPreserveTypeInfoArg(), clang::SemaBase::SemaRef, and clang::Expr::setType().
void clang::SemaBPF::handlePreserveAccessIndexAttr | ( | Decl * | D, |
const ParsedAttr & | AL | ||
) |
Definition at line 187 of file SemaBPF.cpp.
References D, clang::SemaBase::getASTContext(), and handlePreserveAIRecord().
Referenced by ProcessDeclAttribute().
void clang::SemaBPF::handlePreserveAIRecord | ( | RecordDecl * | RD | ) |
Definition at line 175 of file SemaBPF.cpp.
References D, clang::DeclContext::decls(), clang::SemaBase::getASTContext(), and handlePreserveAIRecord().
Referenced by handlePreserveAccessIndexAttr(), handlePreserveAIRecord(), and clang::Sema::ProcessDeclAttributeDelayed().