clang 20.0.0git
Public Member Functions | List of all members
clang::SemaBPF Class Reference

#include "clang/Sema/SemaBPF.h"

Inheritance diagram for clang::SemaBPF:
Inheritance graph
[legend]

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)
 
ASTContextgetASTContext () const
 
DiagnosticsEnginegetDiagnostics () const
 
const LangOptionsgetLangOpts () 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
SemaSemaRef
 

Detailed Description

Definition at line 22 of file SemaBPF.h.

Constructor & Destructor Documentation

◆ SemaBPF()

clang::SemaBPF::SemaBPF ( Sema S)

Definition at line 25 of file SemaBPF.cpp.

Member Function Documentation

◆ CheckBPFBuiltinFunctionCall()

bool clang::SemaBPF::CheckBPFBuiltinFunctionCall ( unsigned  BuiltinID,
CallExpr TheCall 
)

◆ handlePreserveAccessIndexAttr()

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().

◆ handlePreserveAIRecord()

void clang::SemaBPF::handlePreserveAIRecord ( RecordDecl RD)

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