Lines Matching refs:scope
40 #include "clang/Sema/Scope.h"
1443 static ExprResult BuildCookedLiteralOperatorCall(Sema &S, Scope *Scope,
1463 if (S.LookupLiteralOperator(Scope, R, llvm::makeArrayRef(ArgTy, Args.size()),
1478 Scope *UDLScope) {
1655 bool Sema::DiagnoseEmptyLookup(Scope *S, CXXScopeSpec &SS, LookupResult &R,
1762 // function definition declared at class scope then we must set
1876 ExprResult Sema::ActOnIdExpression(Scope *S,
2142 Sema::LookupInObjCMethod(LookupResult &Lookup, Scope *S,
2283 /// If the member we found was brought into a class's scope by
2446 // Never if a scope specifier was provided.
2467 // -- a block-scope function declaration that is not a
2775 // Blocks and lambdas can occur at global scope. Don't emit a warning.
2804 ExprResult Sema::ActOnCharacterConstant(const Token &Tok, Scope *UDLScope) {
2895 ExprResult Sema::ActOnNumericConstant(const Token &Tok, Scope *UDLScope) {
3539 Sema::ActOnPostfixUnaryOp(Scope *S, SourceLocation OpLoc,
3573 Sema::ActOnArraySubscriptExpr(Scope *S, Expr *base, SourceLocation lbLoc,
4317 Sema::ActOnCallExpr(Scope *S, Expr *Fn, SourceLocation LParenLoc,
4429 Sema::ActOnCUDAExecConfigExpr(Scope *S, SourceLocation LLLLoc,
4996 Sema::ActOnCastExpr(Scope *S, SourceLocation LParenLoc,
5137 Sema::MaybeConvertParenListExprToParenExpr(Scope *S, Expr *OrigExpr) {
8066 // Must be a reference to a declaration from an enclosing scope.
8644 // scope qualifier for the class.
9254 ExprResult Sema::ActOnBinOp(Scope *S, SourceLocation TokLoc,
9267 /// Build an overloaded binary operator expression in the given scope.
9268 static ExprResult BuildOverloadedBinOp(Sema &S, Scope *Sc, SourceLocation OpLoc,
9273 // scope and an argument-dependent lookup based on the types of
9287 ExprResult Sema::BuildBinOp(Scope *S, SourceLocation OpLoc,
9571 ExprResult Sema::BuildUnaryOp(Scope *S, SourceLocation OpLoc,
9604 // scope and an argument-dependent lookup based on the types of
9619 ExprResult Sema::ActOnUnaryOp(Scope *S, SourceLocation OpLoc,
9662 // StmtExpr scope without rebuilding anything.
9919 ExprResult Sema::ActOnBuiltinOffsetOf(Scope *S,
9985 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) {
10013 Scope *CurScope) {
10117 // Put the parameter variables in scope.
10122 // If this has an identifier, add it to the scope stack.
10133 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) {
10146 Stmt *Body, Scope *CurScope) {
10250 // It also gets a branch-protected scope if any of the captured
11210 EnterExpressionEvaluationContext scope(S, Sema::PotentiallyEvaluated);
11214 // the scope containing the lambda-expression.
11314 // we've either hit the declared scope of the variable or find an existing
11430 // Walk back down the scope stack, computing the type of the capture at
11438 // this scope.
11485 EnterExpressionEvaluationContext scope(*this, PotentiallyEvaluated);
12208 ExprResult Sema::ActOnBooleanCondition(Scope *S, SourceLocation Loc,