Home | History | Annotate | Download | only in Sema

Lines Matching refs:sema

15 #include "clang/Sema/SemaInternal.h"
28 #include "clang/Sema/DeclSpec.h"
29 #include "clang/Sema/Initialization.h"
30 #include "clang/Sema/Lookup.h"
31 #include "clang/Sema/ParsedTemplate.h"
32 #include "clang/Sema/Scope.h"
33 #include "clang/Sema/ScopeInfo.h"
34 #include "clang/Sema/TemplateDeduction.h"
39 using namespace sema;
45 ParsedType Sema::getInheritingConstructorName(CXXScopeSpec &SS,
78 ParsedType Sema::getDestructorName(SourceLocation TildeLoc,
318 ParsedType Sema::getDestructorType(const DeclSpec& DS, ParsedType ObjectType) {
335 ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType,
358 ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType,
414 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc,
460 ExprResult Sema::BuildCXXUuidof(QualType TypeInfoType,
476 ExprResult Sema::BuildCXXUuidof(QualType TypeInfoType,
493 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc,
527 Sema::ActOnCXXBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind) {
536 Sema::ActOnCXXNullPtrLiteral(SourceLocation Loc) {
542 Sema::ActOnCXXThrow(Scope *S, SourceLocation OpLoc, Expr *Ex) {
578 ExprResult Sema::BuildCXXThrow(SourceLocation OpLoc, Expr *Ex,
597 ExprResult Sema::CheckCXXThrowOperand(SourceLocation ThrowLoc, Expr *E,
692 QualType Sema::getCurrentThisType() {
703 Sema::CXXThisScopeRAII::CXXThisScopeRAII(Sema &S,
726 Sema::CXXThisScopeRAII::~CXXThisScopeRAII() {
744 void Sema::CheckCXXThisCapture(SourceLocation Loc, bool Explicit) {
796 ExprResult Sema::ActOnCXXThis(SourceLocation Loc) {
808 bool Sema::isThisOutsideMemberFunctionBody(QualType BaseType) {
821 Sema::ActOnCXXTypeConstructExpr(ParsedType TypeRep,
841 Sema::BuildCXXTypeConstructExpr(TypeSourceInfo *TInfo,
915 static bool doesUsualArrayDeleteWantSize(Sema &S, SourceLocation loc,
925 LookupResult ops(S, deleteName, loc, Sema::LookupOrdinaryName);
986 Sema::ActOnCXXNew(SourceLocation StartLoc, bool UseGlobal,
1086 Sema::BuildCXXNew(SourceRange Range, bool UseGlobal,
1222 virtual SemaDiagnosticBuilder diagnoseNotInt(Sema &S, SourceLocation Loc,
1229 Sema &S, SourceLocation Loc, QualType T) {
1235 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) {
1240 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) {
1246 Sema &S, SourceLocation Loc, QualType T) {
1251 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) {
1257 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) {
1491 bool Sema::CheckAllocatedType(QualType AllocType, SourceLocation Loc,
1542 bool Sema::FindAllocationFunctions(SourceLocation StartLoc, SourceRange Range,
1558 // FIXME: Should the Sema create the expression and embed it in the syntax
1748 bool Sema::FindAllocationOverload(SourceLocation StartLoc, SourceRange Range,
1872 void Sema::DeclareGlobalNewDelete() {
1934 void Sema::DeclareGlobalAllocationFunction(DeclarationName Name,
2007 bool Sema::FindDeallocationFunction(SourceLocation StartLoc, CXXRecordDecl *RD,
2100 Sema::ActOnCXXDelete(SourceLocation StartLoc, bool UseGlobal,
2135 SemaDiagnosticBuilder diagnoseNoMatch(Sema &S, SourceLocation Loc,
2140 SemaDiagnosticBuilder diagnoseIncomplete(Sema &S, SourceLocation Loc,
2145 SemaDiagnosticBuilder diagnoseExplicitConv(Sema &S, SourceLocation Loc,
2150 SemaDiagnosticBuilder noteExplicitConv(Sema &S, CXXConversionDecl *Conv,
2156 SemaDiagnosticBuilder diagnoseAmbiguous(Sema &S, SourceLocation Loc,
2161 SemaDiagnosticBuilder noteAmbiguous(Sema &S, CXXConversionDecl *Conv,
2167 SemaDiagnosticBuilder diagnoseConversion(Sema &S, SourceLocation Loc,
2313 ExprResult Sema::CheckConditionVariable(VarDecl *ConditionVar,
2353 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr) {
2370 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) {
2404 static ExprResult BuildCXXCastArgument(Sema &S,
2469 Sema::PerformImplicitConversion(Expr *From, QualType ToType,
2559 Sema::PerformImplicitConversion(Expr *From, QualType ToType,
2885 Sema::AssignConvertType ConvTy =
2890 assert ((ConvTy == Sema::Compatible) &&
2947 ExprResult Sema::ActOnUnaryTypeTrait(UnaryTypeTrait UTT,
2965 static bool CheckUnaryTypeTraitTypeCompleteness(Sema &S,
3068 Sema &Self, SourceLocation KeyLoc, ASTContext &C,
3079 LookupResult Res(Self, NameInfo, Sema::LookupOrdinaryName);
3103 static bool EvaluateUnaryTypeTrait(Sema &Self, UnaryTypeTrait UTT,
3438 ExprResult Sema::BuildUnaryTypeTrait(UnaryTypeTrait UTT,
3454 ExprResult Sema::ActOnBinaryTypeTrait(BinaryTypeTrait BTT,
3491 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc,
3548 EnterExpressionEvaluationContext Unevaluated(S, Sema::Unevaluated);
3549 Sema::SFINAETrap SFINAE(S, /*AccessCheckingSFINAE=*/true);
3550 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl());
3577 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
3596 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
3614 static bool EvaluateBinaryTypeTrait(Sema &Self, BinaryTypeTrait BTT,
3709 EnterExpressionEvaluationContext Unevaluated(Self, Sema::Unevaluated);
3710 Sema::SFINAETrap SFINAE(Self, /*AccessCheckingSFINAE=*/true);
3711 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl());
3758 EnterExpressionEvaluationContext Unevaluated(Self, Sema::Unevaluated);
3759 Sema::SFINAETrap SFINAE(Self, /*AccessCheckingSFINAE=*/true);
3760 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl());
3777 ExprResult Sema::BuildBinaryTypeTrait(BinaryTypeTrait BTT,
3813 ExprResult Sema::ActOnArrayTypeTrait(ArrayTypeTrait ATT,
3826 static uint64_t EvaluateArrayTypeTrait(Sema &Self, ArrayTypeTrait ATT,
3880 ExprResult Sema::BuildArrayTypeTrait(ArrayTypeTrait ATT,
3903 ExprResult Sema::ActOnExpressionTrait(ExpressionTrait ET,
3924 ExprResult Sema::BuildExpressionTrait(ExpressionTrait ET,
3942 QualType Sema::CheckPointerToMemberOperands(ExprResult &LHS, ExprResult &RHS,
4090 static bool TryClassUnification(Sema &Self, Expr *From, Expr *To,
4179 static bool FindConditionalOverload(Sema &Self, ExprResult &LHS, ExprResult &RHS,
4192 Best->Conversions[0], Sema::AA_Converting);
4199 Best->Conversions[1], Sema::AA_Converting);
4237 static bool ConvertForConditional(Sema &Self, ExprResult &E, QualType T) {
4255 QualType Sema::CXXCheckConditionalOperands(ExprResult &Cond, ExprResult &LHS,
4536 QualType Sema::FindCompositePointerType(SourceLocation Loc,
4752 ExprResult Sema::MaybeBindToTemporary(Expr *E) {
4901 Sema::MaybeCreateExprWithCleanups(ExprResult SubExpr) {
4908 Expr *Sema::MaybeCreateExprWithCleanups(Expr *SubExpr) {
4929 Stmt *Sema::MaybeCreateStmtWithCleanups(Stmt *SubStmt) {
4953 ExprResult Sema::ActOnDecltypeExpression(Expr *E) {
5048 Sema::ActOnStartCXXMemberReference(Scope *S, Expr *Base, SourceLocation OpLoc,
5175 ExprResult Sema::DiagnoseDtorReference(SourceLocation NameLoc,
5189 static bool CheckArrow(Sema& S, QualType& ObjectType, Expr *&Base,
5222 ExprResult Sema::BuildPseudoDestructorExpr(Expr *Base,
5323 ExprResult Sema::ActOnPseudoDestructorExpr(Scope *S, Expr *Base,
5461 ExprResult Sema::ActOnPseudoDestructorExpr(Scope *S, Expr *Base,
5484 ExprResult Sema::BuildCXXMemberCallExpr(Expr *E, NamedDecl *FoundDecl,
5538 ExprResult Sema::BuildCXXNoexceptExpr(SourceLocation KeyLoc, Expr *Operand,
5545 ExprResult Sema::ActOnNoexceptExpr(SourceLocation KeyLoc, SourceLocation,
5607 ExprResult Sema::IgnoredValueConversions(Expr *E) {
5665 ExprResult Sema::ActOnFinishFullExpr(Expr *FE, SourceLocation CC,
5698 StmtResult Sema::ActOnFinishFullStmt(Stmt *FullStmt) {
5704 Sema::IfExistsResult
5705 Sema::CheckMicrosoftIfExistsSymbol(Scope *S,
5717 Sema::LookupAnyName,
5718 Sema::NotForRedeclaration);
5739 Sema::IfExistsResult
5740 Sema::CheckMicrosoftIfExistsSymbol(Scope *S, SourceLocation KeywordLoc,