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

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

Inheritance diagram for clang::SemaAVR:

Public Member Functions
SemaAVR (Sema &S)
void handleInterruptAttr (Decl *D, const ParsedAttr &AL)
void handleSignalAttr (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
DeclContext * getCurContext () const
SemaDiagnosticBuilder Diag (SourceLocation Loc, unsigned DiagID)
Emit a diagnostic.
SemaDiagnosticBuilder Diag (SourceLocation Loc, const PartialDiagnostic &PD)
Emit a partial diagnostic.
SemaDiagnosticBuilder DiagCompat (SourceLocation Loc, unsigned CompatDiagId)
Emit a compatibility diagnostic.
PartialDiagnostic PDiag (unsigned DiagID=0)
Build a partial diagnostic.

Detailed Description

Constructor & Destructor Documentation

clang::SemaAVR::SemaAVR ( Sema & S )

Member Function Documentation

handleInterruptAttr()

void clang::SemaAVR::handleInterruptAttr ( Decl * D,
const ParsedAttr & AL )

Definition at line 23 of file SemaAVR.cpp.

References clang::ParsedAttr::checkExactlyNumArgs(), clang::SemaBase::Diag(), clang::ExpectedFunction, clang::getFunctionOrMethodNumParams(), clang::getFunctionOrMethodResultType(), clang::Decl::getLocation(), clang::handleSimpleAttribute(), clang::hasFunctionProto(), clang::isFuncOrMethodForAttrSubject(), clang::AttributeCommonInfo::isRegularKeywordAttribute(), and clang::SemaBase::SemaRef.

Referenced by handleInterruptAttr().

handleSignalAttr()

void clang::SemaAVR::handleSignalAttr ( Decl * D,
const ParsedAttr & AL )

Definition at line 48 of file SemaAVR.cpp.

References clang::ParsedAttr::checkExactlyNumArgs(), clang::SemaBase::Diag(), clang::ExpectedFunction, clang::getFunctionOrMethodNumParams(), clang::getFunctionOrMethodResultType(), clang::Decl::getLocation(), clang::handleSimpleAttribute(), clang::hasFunctionProto(), clang::isFuncOrMethodForAttrSubject(), clang::AttributeCommonInfo::isRegularKeywordAttribute(), and clang::SemaBase::SemaRef.

Referenced by ProcessDeclAttribute().


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