25 Diag(
D->getLocation(), diag::warn_attribute_wrong_decl_type)
33 handleSimpleAttribute<AVRInterruptAttr>(*
this,
D, AL);
38 Diag(
D->getLocation(), diag::warn_attribute_wrong_decl_type)
46 handleSimpleAttribute<AVRSignalAttr>(*
this,
D, AL);
This file declares semantic analysis functions specific to AVR.
bool isRegularKeywordAttribute() const
Decl - This represents one declaration (or definition), e.g.
ParsedAttr - Represents a syntactic attribute.
bool checkExactlyNumArgs(class Sema &S, unsigned Num) const
Check if the attribute has exactly as many args as Num.
void handleSignalAttr(Decl *D, const ParsedAttr &AL)
void handleInterruptAttr(Decl *D, const ParsedAttr &AL)
SemaDiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID, bool DeferHint=false)
Emit a diagnostic.
Sema - This implements semantic analysis and AST building for C.
The JSON file list parser is used to communicate input to InstallAPI.
bool isFuncOrMethodForAttrSubject(const Decl *D)
isFuncOrMethodForAttrSubject - Return true if the given decl has function type (function or function-...