Home
last modified time | relevance | path

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

123

/src/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 DExprConcepts.cpp120 RequiresExprBodyDecl *Body, SourceLocation LParenLoc, in RequiresExpr() argument
127 NumRequirements(Requirements.size()), Body(Body), LParenLoc(LParenLoc), in RequiresExpr()
175 SourceLocation LParenLoc, ArrayRef<ParmVarDecl *> LocalParameters, in Create() argument
183 RequiresExpr(C, RequiresKWLoc, Body, LParenLoc, LocalParameters, in Create()
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()
/src/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 DExprConcepts.h517 SourceLocation LParenLoc; variable
530 RequiresExprBodyDecl *Body, SourceLocation LParenLoc,
541 SourceLocation LParenLoc,
578 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
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 DExprObjC.h1642 SourceLocation LParenLoc; variable
1648 ObjCBridgedCastExpr(SourceLocation LParenLoc, ObjCBridgeCastKind Kind,
1653 LParenLoc(LParenLoc), BridgeKeywordLoc(BridgeKeywordLoc), Kind(Kind) {}
1659 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
1672 SourceLocation getBeginLoc() const LLVM_READONLY { return LParenLoc; } in getBeginLoc()
/src/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()
/src/contrib/llvm-project/clang/include/clang/Lex/
H A DVariadicMacroSupport.h86 void sawVAOptFollowedByOpeningParens(const SourceLocation LParenLoc) { in sawVAOptFollowedByOpeningParens() argument
88 UnmatchedOpeningParens.push_back(LParenLoc); in sawVAOptFollowedByOpeningParens()
107 void sawOpeningParen(SourceLocation LParenLoc) { in sawOpeningParen() argument
109 UnmatchedOpeningParens.push_back(LParenLoc); in sawOpeningParen()
/src/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()
/src/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()
/src/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 …]
/src/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp9384 SourceLocation LParenLoc = readSourceLocation(); in readCXXCtorInitializers() local
9390 CXXCtorInitializer(Context, TInfo, IsBaseVirtual, LParenLoc, Init, in readCXXCtorInitializers()
9394 CXXCtorInitializer(Context, TInfo, LParenLoc, Init, RParenLoc); in readCXXCtorInitializers()
9397 CXXCtorInitializer(Context, Member, MemberOrEllipsisLoc, LParenLoc, in readCXXCtorInitializers()
9402 LParenLoc, Init, RParenLoc); in readCXXCtorInitializers()
11810 D.LParenLoc = Record.readSourceLocation(); in VisitOMPUsesAllocatorsClause()
11945 SourceLocation LParenLoc = readSourceLocation(); in readOpenACCClause() local
11947 return OpenACCDefaultClause::Create(getContext(), DCK, BeginLoc, LParenLoc, in readOpenACCClause()
11951 SourceLocation LParenLoc = readSourceLocation(); in readOpenACCClause() local
11953 return OpenACCIfClause::Create(getContext(), BeginLoc, LParenLoc, CondExpr, in readOpenACCClause()
[all …]

123