51    Diag(AL.
getLoc(), diag::err_attribute_argument_type)
 
   57  std::optional<llvm::APSInt> NumParams = llvm::APSInt(32);
 
   59    Diag(AL.
getLoc(), diag::err_attribute_argument_type)
 
   65  unsigned Num = NumParams->getLimitedValue(255);
 
   67    Diag(AL.
getLoc(), diag::err_attribute_argument_out_of_bounds)
 
   68        << AL << (
int)NumParams->getSExtValue()
 
 
Defines the clang::ASTContext interface.
 
This file declares semantic analysis functions specific to MSP430.
 
bool isRegularKeywordAttribute() const
 
SourceLocation getLoc() const
 
Decl - This represents one declaration (or definition), e.g.
 
SourceLocation getLocation() const
 
This represents one expression.
 
std::optional< llvm::APSInt > getIntegerConstantExpr(const ASTContext &Ctx) const
isIntegerConstantExpr - Return the value if this expression is a valid integer constant expression.
 
ParsedAttr - Represents a syntactic attribute.
 
bool checkExactlyNumArgs(class Sema &S, unsigned Num) const
Check if the attribute has exactly as many args as Num.
 
Expr * getArgAsExpr(unsigned Arg) const
 
bool isArgExpr(unsigned Arg) const
 
ASTContext & getASTContext() const
 
SemaDiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID)
Emit a diagnostic.
 
void handleInterruptAttr(Decl *D, const ParsedAttr &AL)
 
Sema - This implements semantic analysis and AST building for C.
 
SourceRange getSourceRange() const LLVM_READONLY
SourceLocation tokens are not useful in isolation - they are low level value objects created/interpre...
 
The JSON file list parser is used to communicate input to InstallAPI.
 
@ ExpectedFunctionOrMethod
 
QualType getFunctionOrMethodResultType(const Decl *D)
 
@ AANT_ArgumentIntegerConstant
 
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.