|
clang 23.0.0git
|
#include "clang/Sema/SemaPPC.h"
Additional Inherited Members | |
| Public Attributes inherited from clang::SemaBase | |
| Sema & | SemaRef |
| clang::SemaPPC::SemaPPC | ( | Sema & | S | ) |
Definition at line 28 of file SemaPPC.cpp.
References clang::SemaBase::SemaBase().
| bool clang::SemaPPC::BuiltinPPCMMACall | ( | CallExpr * | TheCall, |
| unsigned | BuiltinID, | ||
| const char * | TypeDesc ) |
BuiltinPPCMMACall - Check the call to a PPC MMA builtin for validity.
Emit an error and return true on failure; return false on success. TypeStr is a string containing the type descriptor of the value returned by the builtin and the descriptors of the expected type of the arguments.
Definition at line 468 of file SemaPPC.cpp.
References clang::DecodePPCMMATypeFromStr(), clang::SemaBase::Diag(), clang::CallExpr::getArg(), clang::SemaBase::getASTContext(), clang::Stmt::getBeginLoc(), clang::QualType::getCanonicalType(), clang::CallExpr::getNumArgs(), clang::Expr::getType(), clang::QualType::getUnqualifiedType(), clang::Type::isArrayType(), clang::Type::isPointerType(), clang::QualType::isRestrictQualified(), clang::QualType::isVolatileQualified(), clang::SemaBase::SemaRef, clang::Expr::setType(), and clang::ast_matchers::type.
Definition at line 534 of file SemaPPC.cpp.
References clang::SemaBase::Diag(), clang::CallExpr::getArg(), clang::SemaBase::getASTContext(), clang::CallExpr::getBeginLoc(), clang::Stmt::getBeginLoc(), clang::CallExpr::getDirectCallee(), clang::Stmt::getEndLoc(), clang::Expr::getType(), clang::Type::isDependentType(), clang::Expr::isIntegerConstantExpr(), clang::Type::isVectorType(), clang::SemaBase::SemaRef, and clang::Expr::setType().
Referenced by CheckPPCBuiltinFunctionCall().
| void clang::SemaPPC::checkAIXMemberAlignment | ( | SourceLocation | Loc, |
| const Expr * | Arg ) |
Definition at line 30 of file SemaPPC.cpp.
References clang::SemaBase::Diag(), clang::SemaBase::getASTContext(), clang::CharUnits::getQuantity(), clang::Expr::getType(), clang::Expr::IgnoreParens(), and clang::ASTContext::toCharUnitsFromBits().
Referenced by clang::Sema::checkCall().
| bool clang::SemaPPC::CheckPPCBuiltinFunctionCall | ( | const TargetInfo & | TI, |
| unsigned | BuiltinID, | ||
| CallExpr * | TheCall ) |
Definition at line 111 of file SemaPPC.cpp.
References clang::AltiVecVector, BuiltinVSX(), clang::SemaBase::Diag(), clang::CallExpr::getArg(), clang::SemaBase::getASTContext(), clang::CallExpr::getBeginLoc(), clang::Stmt::getBeginLoc(), clang::Expr::getIntegerConstantExpr(), clang::TargetInfo::getIntPtrType(), clang::TargetInfo::getLongDoubleFormat(), clang::CallExpr::getNumArgs(), clang::Stmt::getSourceRange(), clang::Expr::getType(), clang::TargetInfo::getTypeWidth(), clang::Type::isIntegerType(), clang::isPPC_64Builtin(), clang::Result, clang::SemaBase::SemaRef, and toString().
| bool clang::SemaPPC::CheckPPCMMAType | ( | QualType | Type, |
| SourceLocation | TypeLoc ) |
Definition at line 393 of file SemaPPC.cpp.
References clang::SemaBase::Diag(), clang::SemaBase::getASTContext(), clang::Type::isArrayType(), and clang::Type::isPointerType().
Referenced by clang::Sema::BuildCXXThrow().