clang 20.0.0git
|
#include "clang/Sema/SemaMIPS.h"
Public Member Functions | |
SemaMIPS (Sema &S) | |
bool | CheckMipsBuiltinFunctionCall (const TargetInfo &TI, unsigned BuiltinID, CallExpr *TheCall) |
bool | CheckMipsBuiltinCpu (const TargetInfo &TI, unsigned BuiltinID, CallExpr *TheCall) |
bool | CheckMipsBuiltinArgument (unsigned BuiltinID, CallExpr *TheCall) |
void | handleInterruptAttr (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 |
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 | |
Sema & | SemaRef |
Definition at line 23 of file SemaMIPS.h.
clang::SemaMIPS::SemaMIPS | ( | Sema & | S | ) |
Definition at line 23 of file SemaMIPS.cpp.
Definition at line 66 of file SemaMIPS.cpp.
References clang::Sema::BuiltinConstantArgMultiple(), clang::Sema::BuiltinConstantArgRange(), and clang::SemaBase::SemaRef.
Referenced by CheckMipsBuiltinFunctionCall().
bool clang::SemaMIPS::CheckMipsBuiltinCpu | ( | const TargetInfo & | TI, |
unsigned | BuiltinID, | ||
CallExpr * | TheCall | ||
) |
Definition at line 32 of file SemaMIPS.cpp.
References clang::SemaBase::Diag(), clang::CallExpr::getBeginLoc(), and clang::TargetInfo::hasFeature().
Referenced by CheckMipsBuiltinFunctionCall().
bool clang::SemaMIPS::CheckMipsBuiltinFunctionCall | ( | const TargetInfo & | TI, |
unsigned | BuiltinID, | ||
CallExpr * | TheCall | ||
) |
Definition at line 25 of file SemaMIPS.cpp.
References CheckMipsBuiltinArgument(), and CheckMipsBuiltinCpu().
void clang::SemaMIPS::handleInterruptAttr | ( | Decl * | D, |
const ParsedAttr & | AL | ||
) |
Definition at line 243 of file SemaMIPS.cpp.
References clang::Sema::checkStringLiteralArgumentAttr(), D, clang::SemaBase::Diag(), clang::ExpectedFunctionOrMethod, clang::SemaBase::getASTContext(), clang::getFunctionOrMethodNumParams(), clang::getFunctionOrMethodResultType(), clang::AttributeCommonInfo::getLoc(), clang::ParsedAttr::getNumArgs(), clang::hasFunctionProto(), clang::isFuncOrMethodForAttrSubject(), clang::AttributeCommonInfo::isRegularKeywordAttribute(), Kind, and clang::SemaBase::SemaRef.
Referenced by handleInterruptAttr().