Home
last modified time | relevance | path

Searched refs:LParenLoc (Results 1 – 25 of 43) sorted by relevance

12

/external/clang/include/clang/AST/
DOpenMPClause.h79 SourceLocation LParenLoc; variable
113 SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) in OMPVarListClause() argument
114 : OMPClause(K, StartLoc, EndLoc), LParenLoc(LParenLoc), NumVars(N) {} in OMPVarListClause()
138 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; } in setLParenLoc()
140 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
163 SourceLocation LParenLoc; variable
198 SourceLocation StartLoc, SourceLocation LParenLoc, in OMPIfClause() argument
201 : OMPClause(OMPC_if, StartLoc, EndLoc), LParenLoc(LParenLoc), in OMPIfClause()
208 : OMPClause(OMPC_if, SourceLocation(), SourceLocation()), LParenLoc(), in OMPIfClause()
213 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; } in setLParenLoc()
[all …]
DTypeLoc.h1017 SourceLocation LParenLoc; member
1026 return this->getLocalData()->LParenLoc; in getLParenLoc()
1032 this->getLocalData()->LParenLoc = Loc; in setLParenLoc()
1249 SourceLocation LParenLoc; member
1275 return this->getLocalData()->LParenLoc; in getLParenLoc()
1278 this->getLocalData()->LParenLoc = Loc; in setLParenLoc()
1572 SourceLocation LParenLoc; member
1595 return this->getLocalData()->LParenLoc; in getLParenLoc()
1598 this->getLocalData()->LParenLoc = Loc; in setLParenLoc()
1667 SourceLocation KWLoc, LParenLoc, RParenLoc; member
[all …]
DExprCXX.h1317 SourceLocation LParenLoc; variable
1326 LParenLoc(lParenLoc), RParenLoc(rParenLoc) {} in CXXFunctionalCastExpr()
1342 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
1343 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc()
2984 SourceLocation LParenLoc; variable
2993 SourceLocation LParenLoc,
3005 SourceLocation LParenLoc,
3022 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
3023 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc()
4018 SourceLocation LParenLoc; variable
[all …]
DExprObjC.h1525 SourceLocation LParenLoc;
1533 ObjCBridgedCastExpr(SourceLocation LParenLoc, ObjCBridgeCastKind Kind,
1538 LParenLoc(LParenLoc), BridgeKeywordLoc(BridgeKeywordLoc), Kind(Kind) { }
1544 SourceLocation getLParenLoc() const { return LParenLoc; }
1557 SourceLocation getLocStart() const LLVM_READONLY { return LParenLoc; }
DExpr.h2640 SourceLocation LParenLoc; variable
2656 LParenLoc(lparenloc), TInfoAndScope(tinfo, fileScope), Init(init) {} in CompoundLiteralExpr()
2669 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
2670 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc()
2683 if (LParenLoc.isInvalid()) in getLocStart()
2685 return LParenLoc; in getLocStart()
3448 SourceLocation LParenLoc, RParenLoc; variable
3457 SubStmt(substmt), LParenLoc(lp), RParenLoc(rp) { } in StmtExpr()
3466 SourceLocation getLocStart() const LLVM_READONLY { return LParenLoc; } in getLocStart()
3469 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
[all …]
/external/clang/lib/AST/
DOpenMPClause.cpp40 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
47 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
75 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
82 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
126 const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, in Create() argument
133 new (Mem) OMPLastprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
151 SourceLocation LParenLoc, in Create() argument
158 new (Mem) OMPSharedClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
195 const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, in Create() argument
205 StartLoc, LParenLoc, Modifier, ModifierLoc, ColonLoc, EndLoc, VL.size()); in Create()
[all …]
DExprCXX.cpp1151 SourceLocation LParenLoc, in CXXUnresolvedConstructExpr() argument
1163 LParenLoc(LParenLoc), in CXXUnresolvedConstructExpr()
1178 SourceLocation LParenLoc, in Create() argument
1183 return new (Mem) CXXUnresolvedConstructExpr(Type, LParenLoc, Args, RParenLoc); in Create()
DDeclCXX.cpp1630 LParenLoc(L), RParenLoc(R), IsDelegating(false), IsVirtual(IsVirtual), in CXXCtorInitializer()
1641 LParenLoc(L), RParenLoc(R), IsDelegating(false), IsVirtual(false), in CXXCtorInitializer()
1652 LParenLoc(L), RParenLoc(R), IsDelegating(false), IsVirtual(false), in CXXCtorInitializer()
1662 LParenLoc(L), RParenLoc(R), IsDelegating(true), IsVirtual(false), in CXXCtorInitializer()
1675 LParenLoc(L), RParenLoc(R), IsDelegating(false), IsVirtual(false), in CXXCtorInitializer()
/external/clang/lib/Sema/
DSemaOpenMP.cpp5551 SourceLocation LParenLoc, in ActOnOpenMPSingleExprClause() argument
5556 Res = ActOnOpenMPFinalClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
5559 Res = ActOnOpenMPNumThreadsClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
5562 Res = ActOnOpenMPSafelenClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
5565 Res = ActOnOpenMPSimdlenClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
5568 Res = ActOnOpenMPCollapseClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
5571 Res = ActOnOpenMPOrderedClause(StartLoc, EndLoc, LParenLoc, Expr); in ActOnOpenMPSingleExprClause()
5574 Res = ActOnOpenMPDeviceClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
5577 Res = ActOnOpenMPNumTeamsClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
5580 Res = ActOnOpenMPThreadLimitClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
[all …]
DTreeTransform.h1203 SourceLocation WhileLoc, SourceLocation LParenLoc, in RebuildDoStmt() argument
1205 return getSema().ActOnDoStmt(DoLoc, Body, WhileLoc, LParenLoc, in RebuildDoStmt()
1213 StmtResult RebuildForStmt(SourceLocation ForLoc, SourceLocation LParenLoc, in RebuildForStmt() argument
1217 return getSema().ActOnForStmt(ForLoc, LParenLoc, Init, Cond, in RebuildForStmt()
1388 SourceLocation LParenLoc, in RebuildOMPIfClause() argument
1393 LParenLoc, NameModifierLoc, ColonLoc, in RebuildOMPIfClause()
1402 SourceLocation LParenLoc, in RebuildOMPFinalClause() argument
1404 return getSema().ActOnOpenMPFinalClause(Condition, StartLoc, LParenLoc, in RebuildOMPFinalClause()
1414 SourceLocation LParenLoc, in RebuildOMPNumThreadsClause() argument
1417 LParenLoc, EndLoc); in RebuildOMPNumThreadsClause()
[all …]
DSemaExprObjC.cpp1087 SourceLocation LParenLoc, in ParseObjCEncodeExpression() argument
1095 getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression()
1102 SourceLocation LParenLoc, in HelperToDiagnoseMismatchedMethodsInGlobalPool() argument
1119 << Method->getSelector() << FixItHint::CreateInsertion(LParenLoc, "(") in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1133 SourceLocation LParenLoc, in DiagnoseMismatchedSelectors() argument
1144 if (HelperToDiagnoseMismatchedMethodsInGlobalPool(S, AtLoc, LParenLoc, RParenLoc, in DiagnoseMismatchedSelectors()
1150 if (HelperToDiagnoseMismatchedMethodsInGlobalPool(S, AtLoc, LParenLoc, RParenLoc, in DiagnoseMismatchedSelectors()
1159 SourceLocation LParenLoc, in ParseObjCSelectorExpression() argument
1163 SourceRange(LParenLoc, RParenLoc)); in ParseObjCSelectorExpression()
1166 SourceRange(LParenLoc, RParenLoc)); in ParseObjCSelectorExpression()
[all …]
DSemaTemplateVariadic.cpp948 ExprResult Sema::ActOnCXXFoldExpr(SourceLocation LParenLoc, Expr *LHS, in ActOnCXXFoldExpr() argument
983 return BuildCXXFoldExpr(LParenLoc, LHS, Opc, EllipsisLoc, RHS, RParenLoc); in ActOnCXXFoldExpr()
986 ExprResult Sema::BuildCXXFoldExpr(SourceLocation LParenLoc, Expr *LHS, in BuildCXXFoldExpr() argument
990 return new (Context) CXXFoldExpr(Context.DependentTy, LParenLoc, LHS, in BuildCXXFoldExpr()
DSemaObjCProperty.cpp179 SourceLocation LParenLoc, in ActOnProperty() argument
202 Res = HandlePropertyInClassExtension(S, AtLoc, LParenLoc, in ActOnProperty()
214 Res = CreatePropertyDecl(S, ClassDecl, AtLoc, LParenLoc, FD, in ActOnProperty()
311 SourceLocation LParenLoc, SourceLocation &Loc) { in LocPropertyAttribute() argument
312 if (LParenLoc.isMacroID()) in LocPropertyAttribute()
316 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(LParenLoc); in LocPropertyAttribute()
412 SourceLocation LParenLoc, in HandlePropertyInClassExtension() argument
510 ObjCPropertyDecl *PDecl = CreatePropertyDecl(S, CDecl, AtLoc, LParenLoc, in HandlePropertyInClassExtension()
558 SourceLocation LParenLoc, in CreatePropertyDecl() argument
613 LParenLoc, T, TInfo); in CreatePropertyDecl()
DSemaExpr.cpp4856 Sema::ActOnCallExpr(Scope *S, Expr *Fn, SourceLocation LParenLoc, in ActOnCallExpr() argument
4910 return BuildCallToObjectOfClassType(S, Fn, LParenLoc, ArgExprs, in ActOnCallExpr()
4920 return BuildCallToMemberFunction(S, Fn, LParenLoc, ArgExprs, RParenLoc); in ActOnCallExpr()
4933 return BuildOverloadedCallExpr(S, Fn, ULE, LParenLoc, ArgExprs, in ActOnCallExpr()
4936 return BuildCallToMemberFunction(S, Fn, LParenLoc, ArgExprs, in ActOnCallExpr()
4990 return BuildResolvedCallExpr(Fn, NDecl, LParenLoc, ArgExprs, RParenLoc, in ActOnCallExpr()
5035 SourceLocation LParenLoc, in BuildResolvedCallExpr() argument
5092 return ExprError(Diag(LParenLoc, diag::err_typecheck_call_not_function) in BuildResolvedCallExpr()
5107 return ExprError(Diag(LParenLoc, diag::err_typecheck_call_not_function) in BuildResolvedCallExpr()
5115 return ExprError(Diag(LParenLoc,diag::err_kern_call_not_global_function) in BuildResolvedCallExpr()
[all …]
DSemaOverload.cpp10983 SourceLocation LParenLoc, in BuildRecoveryCallExpr() argument
11042 return SemaRef.ActOnCallExpr(/*Scope*/ nullptr, NewFn.get(), LParenLoc, in BuildRecoveryCallExpr()
11118 SourceLocation LParenLoc, in FinishOverloadedCallExpr() argument
11127 return BuildRecoveryCallExpr(SemaRef, S, Fn, ULE, LParenLoc, Args, in FinishOverloadedCallExpr()
11138 return SemaRef.BuildResolvedCallExpr(Fn, FDecl, LParenLoc, Args, RParenLoc, in FinishOverloadedCallExpr()
11145 ExprResult Recovery = BuildRecoveryCallExpr(SemaRef, S, Fn, ULE, LParenLoc, in FinishOverloadedCallExpr()
11191 return SemaRef.BuildResolvedCallExpr(Fn, FDecl, LParenLoc, Args, RParenLoc, in FinishOverloadedCallExpr()
11208 SourceLocation LParenLoc, in BuildOverloadedCallExpr() argument
11217 if (buildOverloadedCallSet(S, Fn, ULE, Args, LParenLoc, &CandidateSet, in BuildOverloadedCallExpr()
11225 return FinishOverloadedCallExpr(*this, S, Fn, ULE, LParenLoc, Args, in BuildOverloadedCallExpr()
[all …]
DDeclSpec.cpp154 SourceLocation LParenLoc, in getFunction() argument
191 I.Fun.LParenLoc = LParenLoc.getRawEncoding(); in getFunction()
DSemaExprCXX.cpp466 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXTypeid() argument
553 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXUuidof() argument
988 SourceLocation LParenLoc, in ActOnCXXTypeConstructExpr() argument
999 return BuildCXXTypeConstructExpr(TInfo, LParenLoc, exprs, RParenLoc); in ActOnCXXTypeConstructExpr()
1008 SourceLocation LParenLoc, in BuildCXXTypeConstructExpr() argument
1015 return CXXUnresolvedConstructExpr::Create(Context, TInfo, LParenLoc, Exprs, in BuildCXXTypeConstructExpr()
1019 bool ListInitialization = LParenLoc.isInvalid(); in BuildCXXTypeConstructExpr()
1031 return BuildCXXFunctionalCastExpr(TInfo, LParenLoc, Arg, RParenLoc); in BuildCXXTypeConstructExpr()
1064 : InitializationKind::CreateDirect(TyBeginLoc, LParenLoc, RParenLoc) in BuildCXXTypeConstructExpr()
1065 : InitializationKind::CreateValue(TyBeginLoc, LParenLoc, RParenLoc); in BuildCXXTypeConstructExpr()
[all …]
/external/clang/include/clang/Sema/
DSema.h2547 SourceLocation LParenLoc,
2574 SourceLocation LParenLoc,
2578 BuildCallToObjectOfClassType(Scope *S, Expr *Object, SourceLocation LParenLoc,
3058 SourceLocation LParenLoc,
3074 SourceLocation LParenLoc,
3334 SourceLocation LParenLoc,
3909 ExprResult ActOnCallExpr(Scope *S, Expr *Fn, SourceLocation LParenLoc,
3914 SourceLocation LParenLoc,
3924 ExprResult ActOnCastExpr(Scope *S, SourceLocation LParenLoc,
3927 ExprResult BuildCStyleCastExpr(SourceLocation LParenLoc,
[all …]
DInitialization.h490 SourceLocation LParenLoc, in CreateDirect() argument
493 InitLoc, LParenLoc, RParenLoc); in CreateDirect()
543 SourceLocation LParenLoc,
547 InitLoc, LParenLoc, RParenLoc);
DDeclSpec.h1214 unsigned LParenLoc; member
1314 return SourceLocation::getFromRawEncoding(LParenLoc); in getLParenLoc()
1494 SourceLocation LParenLoc,
1543 static DeclaratorChunk getParen(SourceLocation LParenLoc, in getParen()
1547 I.Loc = LParenLoc; in getParen()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp1274 SourceLocation LParenLoc = Tok.getLocation(); in EvaluateHasIncludeCommon() local
1278 PP.Diag(LParenLoc, diag::err_pp_directive_required) << II->getName(); in EvaluateHasIncludeCommon()
1291 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon()
1292 PP.Diag(LParenLoc, diag::err_pp_expected_after) << II << tok::l_paren; in EvaluateHasIncludeCommon()
1300 LParenLoc = Tok.getLocation(); in EvaluateHasIncludeCommon()
1356 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateHasIncludeCommon()
1428 SourceLocation LParenLoc = Tok.getLocation(); in EvaluateBuildingModule() local
1449 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateBuildingModule()
1764 SourceLocation LParenLoc = Tok.getLocation(); in ExpandBuiltinMacro() local
1783 Diag(LParenLoc, diag::note_matching) << tok::l_paren; in ExpandBuiltinMacro()
DPPExpressions.cpp91 SourceLocation LParenLoc; in EvaluateDefined() local
94 LParenLoc = PeekTok.getLocation(); in EvaluateDefined()
123 if (LParenLoc.isValid()) { in EvaluateDefined()
131 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateDefined()
/external/clang/lib/Parse/
DParseExpr.cpp1710 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait() local
1712 Diag(LParenLoc, diag::err_expected_parentheses_around_typename) in ParseExprAfterUnaryExprOrTypeTrait()
1714 << FixItHint::CreateInsertion(LParenLoc, "(") in ParseExprAfterUnaryExprOrTypeTrait()
1735 SourceLocation LParenLoc = Tok.getLocation(), RParenLoc; in ParseExprAfterUnaryExprOrTypeTrait() local
1739 CastRange = SourceRange(LParenLoc, RParenLoc); in ParseExprAfterUnaryExprOrTypeTrait()
1787 SourceLocation LParenLoc, RParenLoc; in ParseUnaryExprOrTypeTraitExpression() local
1793 LParenLoc = T.getOpenLocation(); in ParseUnaryExprOrTypeTraitExpression()
1808 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression()
1810 Diag(LParenLoc, diag::err_paren_sizeof_parameter_pack) in ParseUnaryExprOrTypeTraitExpression()
1812 << FixItHint::CreateInsertion(LParenLoc, "(") in ParseUnaryExprOrTypeTraitExpression()
[all …]
DParseExprCXX.cpp1076 SourceLocation LParenLoc = T.getOpenLocation(); in ParseLambdaExpressionAfterIntroducer() local
1144 LParenLoc, in ParseLambdaExpressionAfterIntroducer()
1161 LParenLoc, FunLocalRangeEnd, D, in ParseLambdaExpressionAfterIntroducer()
1306 SourceLocation LParenLoc, RParenLoc; in ParseCXXCasts() local
1337 SourceLocation LParenLoc, RParenLoc; in ParseCXXTypeid() local
1343 LParenLoc = T.getOpenLocation(); in ParseCXXTypeid()
1372 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true, in ParseCXXTypeid()
1386 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false, in ParseCXXTypeid()
DParsePragma.cpp342 SourceLocation LParenLoc; member
359 Info->LParenLoc, Info->RParenLoc); in HandlePragmaPack()
960 SourceLocation LParenLoc = Tok.getLocation(); in HandlePragma() local
1043 Info->LParenLoc = LParenLoc; in HandlePragma()

12