Home | History | Annotate | Download | only in Sema

Lines Matching full:sema

13 #include "clang/Sema/DeclSpec.h"
18 #include "clang/Sema/Initialization.h"
19 #include "clang/Sema/Lookup.h"
20 #include "clang/Sema/Scope.h"
21 #include "clang/Sema/ScopeInfo.h"
22 #include "clang/Sema/SemaInternal.h"
23 #include "clang/Sema/SemaLambda.h"
25 using namespace sema;
30 /// If successful, returns the index into Sema's FunctionScopeInfo stack
52 /// \param FunctionScopes - Sema's stack of nested FunctionScopeInfo's (which a
58 /// the index (into Sema's FunctionScopeInfo stack) of the innermost lambda
64 ArrayRef<const clang::sema::FunctionScopeInfo *> FunctionScopes,
70 isa<clang::sema::LambdaScopeInfo>(
72 "The function on the top of sema's function-info stack must be a lambda");
81 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex])->CallOperator;
84 const clang::sema::LambdaScopeInfo *LSI =
85 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex]);
113 if (LSI->ImpCaptureStyle == sema::LambdaScopeInfo::ImpCap_None) {
138 /// If successful, returns the index into Sema's FunctionScopeInfo stack
141 /// Given the current stack of lambdas being processed by Sema and
158 /// \param FunctionScopes - Sema's stack of nested FunctionScopeInfo's (which a
166 /// the index (into Sema's FunctionScopeInfo stack) of the innermost lambda
171 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
172 VarDecl *VarToCapture, Sema &S) {
188 const sema::LambdaScopeInfo *const CaptureReadyLambdaLSI =
189 cast<sema::LambdaScopeInfo>(FunctionScopes[IndexOfCaptureReadyLambda]);
203 clang::Sema::TryCapture_Implicit,
225 getGenericLambdaTemplateParameterList(LambdaScopeInfo *LSI, Sema &SemaRef) {
242 CXXRecordDecl *Sema::createLambdaClosureType(SourceRange IntroducerRange,
277 Sema::getCurrentMangleNumberContext(const DeclContext *DC,
345 Sema::ExpressionEvaluationContextRecord::getMangleNumberingContext(
353 CXXMethodDecl *Sema::startLambdaDefinition(CXXRecordDecl *Class,
435 void Sema::buildLambdaScope(LambdaScopeInfo *LSI,
470 void Sema::finishLambdaExplicitCaptures(LambdaScopeInfo *LSI) {
474 void Sema::addLambdaParameters(CXXMethodDecl *CallOperator, Scope *CurScope) {
589 static void adjustBlockReturnsToEnum(Sema &S, ArrayRef<ReturnStmt*> returns,
615 void Sema::deduceClosureReturnType(CapturingScopeInfo &CSI) {
696 QualType Sema::performLambdaInitCaptureInitialization(SourceLocation Loc,
800 VarDecl *Sema::createLambdaInitCaptureVarDecl(SourceLocation Loc,
819 FieldDecl *Sema::buildInitCaptureField(LambdaScopeInfo *LSI, VarDecl *Var) {
834 void Sema::ActOnStartOfLambdaDefinition(LambdaIntroducer &Intro,
1133 void Sema::ActOnLambdaError(SourceLocation StartLoc, Scope *CurScope,
1158 static void addFunctionPointerConversion(Sema &S,
1334 static void addBlockPointerConversion(Sema &S,
1373 ExprResult Sema::ActOnLambdaExpr(SourceLocation StartLoc, Stmt *Body,
1556 ExprResult Sema::BuildBlockForLambdaConversion(SourceLocation CurrentLocation,