Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenACCClause.cpp51 SourceLocation LParenLoc, in Create() argument
56 return new (Mem) OpenACCDefaultClause(K, BeginLoc, LParenLoc, EndLoc); in Create()
61 SourceLocation LParenLoc, in Create() argument
65 return new (Mem) OpenACCIfClause(BeginLoc, LParenLoc, ConditionExpr, EndLoc); in Create()
69 SourceLocation LParenLoc, Expr *ConditionExpr, in OpenACCIfClause() argument
71 : OpenACCClauseWithCondition(OpenACCClauseKind::If, BeginLoc, LParenLoc, in OpenACCIfClause()
81 SourceLocation LParenLoc, in Create() argument
86 OpenACCSelfClause(BeginLoc, LParenLoc, ConditionExpr, EndLoc); in Create()
90 SourceLocation LParenLoc, in OpenACCSelfClause() argument
92 : OpenACCClauseWithCondition(OpenACCClauseKind::Self, BeginLoc, LParenLoc, in OpenACCSelfClause()
[all …]
H A DOpenMPClause.cpp346 SourceLocation LParenLoc, in Create() argument
350 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); in Create()
402 SourceLocation LParenLoc, SourceLocation ArgumentLoc, in Create() argument
409 Clause->setLParenLoc(LParenLoc); in Create()
435 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
440 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
466 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
471 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
514 const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, in Create() argument
521 StartLoc, LParenLoc, EndLoc, LPKind, LPKindLoc, ColonLoc, VL.size()); in Create()
[all …]
H A DStmt.cpp927 : Stmt(IfStmtClass), LParenLoc(LPL), RParenLoc(RPL) { in IfStmt()
1024 : Stmt(ForStmtClass), LParenLoc(LP), RParenLoc(RP) in ForStmt()
1054 Expr *Cond, SourceLocation LParenLoc, in SwitchStmt() argument
1056 : Stmt(SwitchStmtClass), FirstCase(nullptr), LParenLoc(LParenLoc), in SwitchStmt()
1082 Expr *Cond, SourceLocation LParenLoc, in Create() argument
1089 return new (Mem) SwitchStmt(Ctx, Init, Var, Cond, LParenLoc, RParenLoc); in Create()
1122 Stmt *Body, SourceLocation WL, SourceLocation LParenLoc, in WhileStmt() argument
1134 setLParenLoc(LParenLoc); in WhileStmt()
1145 SourceLocation LParenLoc, in Create() argument
1151 return new (Mem) WhileStmt(Ctx, Var, Cond, Body, WL, LParenLoc, RParenLoc); in Create()
H A DExprCXX.cpp1456 QualType T, TypeSourceInfo *TSI, SourceLocation LParenLoc, in CXXUnresolvedConstructExpr() argument
1463 TypeAndInitForm(TSI, IsListInit), LParenLoc(LParenLoc), in CXXUnresolvedConstructExpr()
1474 SourceLocation LParenLoc, ArrayRef<Expr *> Args, SourceLocation RParenLoc, in Create() argument
1477 return new (Mem) CXXUnresolvedConstructExpr(T, TSI, LParenLoc, Args, in Create()
1936 SourceLocation InitLoc, SourceLocation LParenLoc, in Create() argument
1940 LParenLoc, RParenLoc); in Create()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenACCClause.h203 SourceLocation LParenLoc; variable
207 SourceLocation LParenLoc, SourceLocation EndLoc) in OpenACCClauseWithParams() argument
208 : OpenACCClause(K, BeginLoc, EndLoc), LParenLoc(LParenLoc) {} in OpenACCClauseWithParams()
213 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
234 SourceLocation LParenLoc, in OpenACCDeviceTypeClause() argument
237 : OpenACCClauseWithParams(K, BeginLoc, LParenLoc, EndLoc), in OpenACCDeviceTypeClause()
276 SourceLocation LParenLoc, ArrayRef<DeviceTypeArgument> Archs,
289 SourceLocation LParenLoc, SourceLocation EndLoc) in OpenACCDefaultClause() argument
290 : OpenACCClauseWithParams(OpenACCClauseKind::Default, BeginLoc, LParenLoc, in OpenACCDefaultClause()
309 SourceLocation LParenLoc,
[all …]
H A DOpenMPClause.h147 SourceLocation LParenLoc; variable
156 OMPOneStmtClause(Stmt *S, SourceLocation StartLoc, SourceLocation LParenLoc, in OMPOneStmtClause() argument
158 : Base(ClauseKind, StartLoc, EndLoc), LParenLoc(LParenLoc), S(S) {} in OMPOneStmtClause()
166 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; } in setLParenLoc()
169 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
263 SourceLocation LParenLoc; member
267 OMPVarListLocTy(SourceLocation StartLoc, SourceLocation LParenLoc, in OMPVarListLocTy()
269 : StartLoc(StartLoc), LParenLoc(LParenLoc), EndLoc(EndLoc) {} in OMPVarListLocTy()
279 SourceLocation LParenLoc; variable
293 SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) in OMPVarListClause() argument
[all …]
H A DTypeLoc.h1183 SourceLocation LParenLoc; member
1192 return this->getLocalData()->LParenLoc; in getLParenLoc()
1200 this->getLocalData()->LParenLoc = Loc; in setLParenLoc()
1419 SourceLocation LParenLoc; member
1461 return this->getLocalData()->LParenLoc; in getLParenLoc()
1465 this->getLocalData()->LParenLoc = Loc; in setLParenLoc()
1977 SourceLocation LParenLoc; member
2001 return this->getLocalData()->LParenLoc; in getLParenLoc()
2005 this->getLocalData()->LParenLoc = Loc; in setLParenLoc()
2130 SourceLocation KWLoc, LParenLoc, RParenLoc; member
[all …]
H A DExprCXX.h1818 SourceLocation LParenLoc; variable
1828 LParenLoc(lParenLoc), RParenLoc(rParenLoc) { in CXXFunctionalCastExpr()
1854 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
1855 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc()
1860 bool isListInitialization() const { return LParenLoc.isInvalid(); } in isListInitialization()
3565 SourceLocation LParenLoc; variable
3571 SourceLocation LParenLoc, ArrayRef<Expr *> Args,
3582 SourceLocation LParenLoc, ArrayRef<Expr *> Args,
3600 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
3601 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc()
[all …]
H A DStmt.h2170 SourceLocation LParenLoc;
2192 Stmt *Init, VarDecl *Var, Expr *Cond, SourceLocation LParenLoc,
2361 SourceLocation getLParenLoc() const { return LParenLoc; }
2362 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; }
2418 SourceLocation LParenLoc;
2434 SourceLocation LParenLoc, SourceLocation RParenLoc);
2442 Expr *Cond, SourceLocation LParenLoc,
2536 SourceLocation getLParenLoc() const { return LParenLoc; }
2537 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; }
2610 SourceLocation LParenLoc, RParenLoc;
[all …]
H A DExpr.h3432 SourceLocation LParenLoc; variable
3443 LParenLoc(lparenloc), TInfoAndScope(tinfo, fileScope), Init(init) { in CompoundLiteralExpr()
3458 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
3459 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc()
3472 if (LParenLoc.isInvalid()) in getBeginLoc()
3474 return LParenLoc; in getBeginLoc()
4409 SourceLocation LParenLoc, RParenLoc; variable
4411 StmtExpr(CompoundStmt *SubStmt, QualType T, SourceLocation LParenLoc, in StmtExpr() argument
4414 LParenLoc(LParenLoc), RParenLoc(RParenLoc) { in StmtExpr()
4428 SourceLocation getBeginLoc() const LLVM_READONLY { return LParenLoc; } in getBeginLoc()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h124 SourceLocation LParenLoc, MultiExprArg ArgExprs,
832 SourceLocation LParenLoc,
837 SourceLocation LParenLoc,
842 SourceLocation LParenLoc,
848 SourceLocation LParenLoc,
853 SourceLocation LParenLoc,
857 SourceLocation LParenLoc,
861 SourceLocation LParenLoc,
865 SourceLocation LParenLoc,
870 SourceLocation LParenLoc,
[all …]
H A DSemaObjC.h694 SourceLocation LParenLoc, ParsedType Ty,
700 SourceLocation LParenLoc,
708 SourceLocation LParenLoc,
772 ExprResult BuildObjCBridgedCast(SourceLocation LParenLoc,
777 ExprResult ActOnObjCBridgedCast(Scope *S, SourceLocation LParenLoc,
953 Decl *ActOnProperty(Scope *S, SourceLocation AtLoc, SourceLocation LParenLoc,
969 Scope *S, SourceLocation AtLoc, SourceLocation LParenLoc,
979 SourceLocation LParenLoc, FieldDeclarator &FD,
H A DInitialization.h642 SourceLocation LParenLoc, in CreateDirect() argument
645 InitLoc, LParenLoc, RParenLoc); in CreateDirect()
702 SourceLocation LParenLoc,
706 InitLoc, LParenLoc, RParenLoc);
H A DSemaOpenACC.h50 SourceLocation LParenLoc; variable
100 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
250 void setLParenLoc(SourceLocation EndLoc) { LParenLoc = EndLoc; } in setLParenLoc()
H A DSema.h2114 SourceLocation LParenLoc, Expr *E,
2145 ExprResult BuildCStyleCastExpr(SourceLocation LParenLoc, TypeSourceInfo *Ty,
2149 SourceLocation LParenLoc,
5326 SourceLocation LParenLoc, ArrayRef<Expr *> Args,
6971 ExprResult ActOnCallExpr(Scope *S, Expr *Fn, SourceLocation LParenLoc,
6978 ExprResult BuildCallExpr(Scope *S, Expr *Fn, SourceLocation LParenLoc,
6998 BuildResolvedCallExpr(Expr *Fn, NamedDecl *NDecl, SourceLocation LParenLoc,
7003 ExprResult ActOnCastExpr(Scope *S, SourceLocation LParenLoc, Declarator &D,
7012 ExprResult BuildVectorLiteral(SourceLocation LParenLoc,
7020 ExprResult ActOnCompoundLiteral(SourceLocation LParenLoc, ParsedType Ty,
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h1416 SourceLocation LParenLoc, Sema::ConditionResult Cond, in RebuildIfStmt() argument
1419 return getSema().ActOnIfStmt(IfLoc, Kind, LParenLoc, Init, Cond, RParenLoc, in RebuildIfStmt()
1428 SourceLocation LParenLoc, Stmt *Init, in RebuildSwitchStmtStart() argument
1431 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, LParenLoc, Init, Cond, in RebuildSwitchStmtStart()
1448 StmtResult RebuildWhileStmt(SourceLocation WhileLoc, SourceLocation LParenLoc, in RebuildWhileStmt() argument
1451 return getSema().ActOnWhileStmt(WhileLoc, LParenLoc, Cond, RParenLoc, Body); in RebuildWhileStmt()
1459 SourceLocation WhileLoc, SourceLocation LParenLoc, in RebuildDoStmt() argument
1461 return getSema().ActOnDoStmt(DoLoc, Body, WhileLoc, LParenLoc, in RebuildDoStmt()
1469 StmtResult RebuildForStmt(SourceLocation ForLoc, SourceLocation LParenLoc, in RebuildForStmt() argument
1473 return getSema().ActOnForStmt(ForLoc, LParenLoc, Init, Cond, in RebuildForStmt()
[all …]
H A DSemaOpenMP.cpp7184 SourceLocation LParenLoc, in ActOnOpenMPCall() argument
7202 Diag(LParenLoc, diag::err_omp_unexpected_call_to_omp_runtime_api); in ActOnOpenMPCall()
7272 NewCall = SemaRef.BuildCallExpr(Scope, BestExpr, LParenLoc, ArgExprs, in ActOnOpenMPCall()
15019 SourceLocation LParenLoc, in ActOnOpenMPSingleExprClause() argument
15024 Res = ActOnOpenMPFinalClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
15027 Res = ActOnOpenMPNumThreadsClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
15030 Res = ActOnOpenMPSafelenClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
15033 Res = ActOnOpenMPSimdlenClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
15036 Res = ActOnOpenMPAllocatorClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
15039 Res = ActOnOpenMPCollapseClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
[all …]
H A DSemaExprObjC.cpp1168 SourceLocation LParenLoc, in ParseObjCEncodeExpression() argument
1177 EncodedType, SemaRef.getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression()
1184 SourceLocation LParenLoc, in HelperToDiagnoseMismatchedMethodsInGlobalPool() argument
1201 << Method->getSelector() << FixItHint::CreateInsertion(LParenLoc, "(") in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1215 SourceLocation LParenLoc, in DiagnoseMismatchedSelectors() argument
1227 if (HelperToDiagnoseMismatchedMethodsInGlobalPool(S, AtLoc, LParenLoc, RParenLoc, in DiagnoseMismatchedSelectors()
1233 if (HelperToDiagnoseMismatchedMethodsInGlobalPool(S, AtLoc, LParenLoc, RParenLoc, in DiagnoseMismatchedSelectors()
1304 SourceLocation LParenLoc, in ParseObjCSelectorExpression() argument
1309 SourceRange(LParenLoc, RParenLoc)); in ParseObjCSelectorExpression()
1312 SourceRange(LParenLoc, RParenLoc)); in ParseObjCSelectorExpression()
[all …]
H A DSemaObjCProperty.cpp175 SourceLocation LParenLoc, FieldDeclarator &FD, in ActOnProperty() argument
197 Res = HandlePropertyInClassExtension(S, AtLoc, LParenLoc, in ActOnProperty()
210 Res = CreatePropertyDecl(S, ClassDecl, AtLoc, LParenLoc, FD, in ActOnProperty()
307 SourceLocation LParenLoc, SourceLocation &Loc) { in LocPropertyAttribute() argument
308 if (LParenLoc.isMacroID()) in LocPropertyAttribute()
312 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(LParenLoc); in LocPropertyAttribute()
405 Scope *S, SourceLocation AtLoc, SourceLocation LParenLoc, in HandlePropertyInClassExtension() argument
503 ObjCPropertyDecl *PDecl = CreatePropertyDecl(S, CDecl, AtLoc, LParenLoc, in HandlePropertyInClassExtension()
552 SourceLocation LParenLoc, FieldDeclarator &FD, Selector GetterSel, in CreatePropertyDecl() argument
603 LParenLoc, T, TInfo); in CreatePropertyDecl()
H A DSemaTemplateVariadic.cpp1271 ExprResult Sema::ActOnCXXFoldExpr(Scope *S, SourceLocation LParenLoc, Expr *LHS, in ActOnCXXFoldExpr() argument
1332 return BuildCXXFoldExpr(ULE, LParenLoc, LHS, Opc, EllipsisLoc, RHS, RParenLoc, in ActOnCXXFoldExpr()
1337 SourceLocation LParenLoc, Expr *LHS, in BuildCXXFoldExpr() argument
1343 CXXFoldExpr(Context.DependentTy, Callee, LParenLoc, LHS, Operator, in BuildCXXFoldExpr()
H A DSemaStmt.cpp910 SourceLocation LParenLoc, Stmt *InitStmt, in ActOnIfStmt() argument
944 : LParenLoc) in ActOnIfStmt()
977 return BuildIfStmt(IfLoc, StatementKind, LParenLoc, InitStmt, Cond, RParenLoc, in ActOnIfStmt()
983 SourceLocation LParenLoc, Stmt *InitStmt, in BuildIfStmt() argument
995 Cond.get().first, Cond.get().second, LParenLoc, in BuildIfStmt()
1122 SourceLocation LParenLoc, in ActOnStartOfSwitchStmt() argument
1147 LParenLoc, RParenLoc); in ActOnStartOfSwitchStmt()
1720 SourceLocation LParenLoc, ConditionResult Cond, in ActOnWhileStmt() argument
1736 WhileLoc, LParenLoc, RParenLoc); in ActOnWhileStmt()
2164 StmtResult Sema::ActOnForStmt(SourceLocation ForLoc, SourceLocation LParenLoc, in ActOnForStmt() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPMacroExpansion.cpp1198 SourceLocation LParenLoc = Tok.getLocation(); in EvaluateHasIncludeCommon() local
1202 PP.Diag(LParenLoc, diag::err_pp_directive_required) << II; in EvaluateHasIncludeCommon()
1218 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon()
1219 PP.Diag(LParenLoc, diag::err_pp_expected_after) << II << tok::l_paren; in EvaluateHasIncludeCommon()
1226 LParenLoc = Tok.getLocation(); in EvaluateHasIncludeCommon()
1252 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateHasIncludeCommon()
1306 SourceLocation LParenLoc = Tok.getLocation(); in EvaluateHasEmbed() local
1332 Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateHasEmbed()
1351 Callbacks->HasEmbed(LParenLoc, Filename, isAngled, MaybeFileEntry); in EvaluateHasEmbed()
1417 SourceLocation LParenLoc = Tok.getLocation(); in EvaluateFeatureLikeBuiltinMacro() local
[all …]
H A DPPExpressions.cpp111 SourceLocation LParenLoc; in EvaluateDefined() local
114 LParenLoc = PeekTok.getLocation(); in EvaluateDefined()
148 if (LParenLoc.isValid()) { in EvaluateDefined()
156 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateDefined()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp2458 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait() local
2460 if (LParenLoc.isInvalid() || RParenLoc.isInvalid()) { in ParseExprAfterUnaryExprOrTypeTrait()
2465 Diag(LParenLoc, diag::err_expected_parentheses_around_typename) in ParseExprAfterUnaryExprOrTypeTrait()
2466 << OpTok.getName() << FixItHint::CreateInsertion(LParenLoc, "(") in ParseExprAfterUnaryExprOrTypeTrait()
2489 SourceLocation LParenLoc = Tok.getLocation(), RParenLoc; in ParseExprAfterUnaryExprOrTypeTrait() local
2493 CastRange = SourceRange(LParenLoc, RParenLoc); in ParseExprAfterUnaryExprOrTypeTrait()
2572 SourceLocation LParenLoc, RParenLoc; in ParseUnaryExprOrTypeTraitExpression() local
2578 LParenLoc = T.getOpenLocation(); in ParseUnaryExprOrTypeTraitExpression()
2593 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression()
2595 Diag(LParenLoc, diag::err_paren_sizeof_parameter_pack) in ParseUnaryExprOrTypeTraitExpression()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp9329 SourceLocation LParenLoc = readSourceLocation(); in readCXXCtorInitializers() local
9335 CXXCtorInitializer(Context, TInfo, IsBaseVirtual, LParenLoc, Init, in readCXXCtorInitializers()
9339 CXXCtorInitializer(Context, TInfo, LParenLoc, Init, RParenLoc); in readCXXCtorInitializers()
9342 CXXCtorInitializer(Context, Member, MemberOrEllipsisLoc, LParenLoc, in readCXXCtorInitializers()
9347 LParenLoc, Init, RParenLoc); in readCXXCtorInitializers()
11755 D.LParenLoc = Record.readSourceLocation(); in VisitOMPUsesAllocatorsClause()
11890 SourceLocation LParenLoc = readSourceLocation(); in readOpenACCClause() local
11892 return OpenACCDefaultClause::Create(getContext(), DCK, BeginLoc, LParenLoc, in readOpenACCClause()
11896 SourceLocation LParenLoc = readSourceLocation(); in readOpenACCClause() local
11898 return OpenACCIfClause::Create(getContext(), BeginLoc, LParenLoc, CondExpr, in readOpenACCClause()
[all …]

12