Home | History | Annotate | Download | only in Sema

Lines Matching full:sema

15 #include "clang/Sema/SemaInternal.h"
30 #include "clang/Sema/DeclSpec.h"
31 #include "clang/Sema/Initialization.h"
32 #include "clang/Sema/Lookup.h"
33 #include "clang/Sema/ParsedTemplate.h"
34 #include "clang/Sema/Scope.h"
35 #include "clang/Sema/ScopeInfo.h"
36 #include "clang/Sema/SemaLambda.h"
37 #include "clang/Sema/TemplateDeduction.h"
42 using namespace sema;
48 ParsedType Sema::getInheritingConstructorName(CXXScopeSpec &SS,
81 ParsedType Sema::getDestructorName(SourceLocation TildeLoc,
321 ParsedType Sema::getDestructorType(const DeclSpec& DS, ParsedType ObjectType) {
337 bool Sema::checkLiteralOperatorId(const CXXScopeSpec &SS,
366 ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType,
388 ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType,
443 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc,
489 ExprResult Sema::BuildCXXUuidof(QualType TypeInfoType,
509 ExprResult Sema::BuildCXXUuidof(QualType TypeInfoType,
530 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc,
564 Sema::ActOnCXXBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind) {
573 Sema::ActOnCXXNullPtrLiteral(SourceLocation Loc) {
579 Sema::ActOnCXXThrow(Scope *S, SourceLocation OpLoc, Expr *Ex) {
615 ExprResult Sema::BuildCXXThrow(SourceLocation OpLoc, Expr *Ex,
637 ExprResult Sema::CheckCXXThrowOperand(SourceLocation ThrowLoc, Expr *E,
732 QualType Sema::getCurrentThisType() {
756 Sema::CXXThisScopeRAII::CXXThisScopeRAII(Sema &S,
779 Sema::CXXThisScopeRAII::~CXXThisScopeRAII() {
797 bool Sema::CheckCXXThisCapture(SourceLocation Loc, bool Explicit,
860 ExprResult Sema::ActOnCXXThis(SourceLocation Loc) {
872 bool Sema::isThisOutsideMemberFunctionBody(QualType BaseType) {
885 Sema::ActOnCXXTypeConstructExpr(ParsedType TypeRep,
905 Sema::BuildCXXTypeConstructExpr(TypeSourceInfo *TInfo,
981 static bool doesUsualArrayDeleteWantSize(Sema &S, SourceLocation loc,
991 LookupResult ops(S, deleteName, loc, Sema::LookupOrdinaryName);
1052 Sema::ActOnCXXNew(SourceLocation StartLoc, bool UseGlobal,
1152 Sema::BuildCXXNew(SourceRange Range, bool UseGlobal,
1289 SemaDiagnosticBuilder diagnoseNotInt(Sema &S, SourceLocation Loc,
1296 Sema &S, SourceLocation Loc, QualType T) override {
1302 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) override {
1307 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override {
1313 Sema &S, SourceLocation Loc, QualType T) override {
1318 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override {
1324 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) override {
1559 bool Sema::CheckAllocatedType(QualType AllocType, SourceLocation Loc,
1596 static bool isNonPlacementDeallocationFunction(Sema &S, FunctionDecl *FD) {
1617 bool Sema::FindAllocationFunctions(SourceLocation StartLoc, SourceRange Range,
1633 // FIXME: Should the Sema create the expression and embed it in the syntax
1853 bool Sema::FindAllocationOverload(SourceLocation StartLoc, SourceRange Range,
1961 void Sema::DeclareGlobalNewDelete() {
2036 void Sema::DeclareGlobalAllocationFunction(DeclarationName Name,
2120 FunctionDecl *Sema::FindUsualDeallocationFunction(SourceLocation StartLoc,
2162 bool Sema::FindDeallocationFunction(SourceLocation StartLoc, CXXRecordDecl *RD,
2244 Sema::ActOnCXXDelete(SourceLocation StartLoc, bool UseGlobal,
2279 SemaDiagnosticBuilder diagnoseNoMatch(Sema &S, SourceLocation Loc,
2284 SemaDiagnosticBuilder diagnoseIncomplete(Sema &S, SourceLocation Loc,
2289 SemaDiagnosticBuilder diagnoseExplicitConv(Sema &S, SourceLocation Loc,
2295 SemaDiagnosticBuilder noteExplicitConv(Sema &S, CXXConversionDecl *Conv,
2301 SemaDiagnosticBuilder diagnoseAmbiguous(Sema &S, SourceLocation Loc,
2306 SemaDiagnosticBuilder noteAmbiguous(Sema &S, CXXConversionDecl *Conv,
2312 SemaDiagnosticBuilder diagnoseConversion(Sema &S, SourceLocation Loc,
2451 ExprResult Sema::CheckConditionVariable(VarDecl *ConditionVar,
2487 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr) {
2504 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) {
2538 static ExprResult BuildCXXCastArgument(Sema &S,
2601 Sema::PerformImplicitConversion(Expr *From, QualType ToType,
2691 Sema::PerformImplicitConversion(Expr *From, QualType ToType,
3017 Sema::AssignConvertType ConvTy =
3022 assert ((ConvTy == Sema::Compatible) &&
3088 static bool CheckUnaryTypeTraitTypeCompleteness(Sema &S, TypeTrait UTT,
3193 Sema &Self, SourceLocation KeyLoc, ASTContext &C,
3204 LookupResult Res(Self, NameInfo, Sema::LookupOrdinaryName);
3228 static bool EvaluateUnaryTypeTrait(Sema &Self, TypeTrait UTT,
3595 static bool EvaluateBinaryTypeTrait(Sema &Self, TypeTrait BTT, QualType LhsT,
3598 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc,
3665 EnterExpressionEvaluationContext Unevaluated(S, Sema::Unevaluated);
3666 Sema::SFINAETrap SFINAE(S, /*AccessCheckingSFINAE=*/true);
3667 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl());
3706 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
3731 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
3749 static bool EvaluateBinaryTypeTrait(Sema &Self, TypeTrait BTT, QualType LhsT,
3843 EnterExpressionEvaluationContext Unevaluated(Self, Sema::Unevaluated);
3844 Sema::SFINAETrap SFINAE(Self, /*AccessCheckingSFINAE=*/true);
3845 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl());
3893 EnterExpressionEvaluationContext Unevaluated(Self, Sema::Unevaluated);
3894 Sema::SFINAETrap SFINAE(Self, /*AccessCheckingSFINAE=*/true);
3895 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl());
3922 ExprResult Sema::ActOnArrayTypeTrait(ArrayTypeTrait ATT,
3935 static uint64_t EvaluateArrayTypeTrait(Sema &Self, ArrayTypeTrait ATT,
3989 ExprResult Sema::BuildArrayTypeTrait(ArrayTypeTrait ATT,
4011 ExprResult Sema::ActOnExpressionTrait(ExpressionTrait ET,
4032 ExprResult Sema::BuildExpressionTrait(ExpressionTrait ET,
4050 QualType Sema::CheckPointerToMemberOperands(ExprResult &LHS, ExprResult &RHS,
4199 static bool TryClassUnification(Sema &Self, Expr *From, Expr *To,
4288 static bool FindConditionalOverload(Sema &Self, ExprResult &LHS, ExprResult &RHS,
4302 Best->Conversions[0], Sema::AA_Converting);
4309 Best->Conversions[1], Sema::AA_Converting);
4347 static bool ConvertForConditional(Sema &Self, ExprResult &E, QualType T) {
4365 QualType Sema::CXXCheckConditionalOperands(ExprResult &Cond, ExprResult &LHS,
4625 QualType Sema::FindCompositePointerType(SourceLocation Loc,
4841 ExprResult Sema::MaybeBindToTemporary(Expr *E) {
4990 Sema::MaybeCreateExprWithCleanups(ExprResult SubExpr) {
4997 Expr *Sema::MaybeCreateExprWithCleanups(Expr *SubExpr) {
5018 Stmt *Sema::MaybeCreateStmtWithCleanups(Stmt *SubStmt) {
5042 ExprResult Sema::ActOnDecltypeExpression(Expr *E) {
5137 static void noteOperatorArrows(Sema &S,
5163 Sema::ActOnStartCXXMemberReference(Scope *S, Expr *Base, SourceLocation OpLoc,
5299 ExprResult Sema::DiagnoseDtorReference(SourceLocation NameLoc,
5313 static bool CheckArrow(Sema& S, QualType& ObjectType, Expr *&Base,
5346 ExprResult Sema::BuildPseudoDestructorExpr(Expr *Base,
5448 ExprResult Sema::ActOnPseudoDestructorExpr(Scope *S, Expr *Base,
5586 ExprResult Sema::ActOnPseudoDestructorExpr(Scope *S, Expr *Base,
5609 ExprResult Sema::BuildCXXMemberCallExpr(Expr *E, NamedDecl *FoundDecl,
5662 ExprResult Sema::BuildCXXNoexceptExpr(SourceLocation KeyLoc, Expr *Operand,
5669 ExprResult Sema::ActOnNoexceptExpr(SourceLocation KeyLoc, SourceLocation,
5731 ExprResult Sema::IgnoredValueConversions(Expr *E) {
5832 Expr *const FE, LambdaScopeInfo *const CurrentLSI, Sema &S) {
5837 "The current call operator must be synchronized with Sema's CurContext");
5921 ExprResult Sema::ActOnFinishFullExpr(Expr *FE, SourceLocation CC,
6008 // - Add to Sema an integer holding the smallest (outermost) scope
6022 StmtResult Sema::ActOnFinishFullStmt(Stmt *FullStmt) {
6028 Sema::IfExistsResult
6029 Sema::CheckMicrosoftIfExistsSymbol(Scope *S,
6041 LookupResult R(*this, TargetNameInfo, Sema::LookupAnyName,
6042 Sema::NotForRedeclaration);
6063 Sema::IfExistsResult
6064 Sema::CheckMicrosoftIfExistsSymbol(Scope *S, SourceLocation KeywordLoc,