25 Diag(
D->getLocation(), diag::warn_attribute_wrong_decl_type)
35 Diag(
D->getLocation(), diag::warn_interrupt_signal_attribute_invalid)
40 Diag(
D->getLocation(), diag::warn_interrupt_signal_attribute_invalid)
45 handleSimpleAttribute<AVRInterruptAttr>(*
this,
D, AL);
50 Diag(
D->getLocation(), diag::warn_attribute_wrong_decl_type)
60 Diag(
D->getLocation(), diag::warn_interrupt_signal_attribute_invalid)
65 Diag(
D->getLocation(), diag::warn_interrupt_signal_attribute_invalid)
70 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.
QualType getFunctionOrMethodResultType(const Decl *D)
bool isFuncOrMethodForAttrSubject(const Decl *D)
isFuncOrMethodForAttrSubject - Return true if the given decl has function type (function or function-...
bool hasFunctionProto(const Decl *D)
hasFunctionProto - Return true if the given decl has a argument information.
unsigned getFunctionOrMethodNumParams(const Decl *D)
getFunctionOrMethodNumParams - Return number of function or method parameters.