| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 292 LParenLoc(LParenLoc), Allocator(A) {} in OMPAllocatorClause() 359 LParenLoc(LParenLoc), Alignment(A) {} in OMPAlignClause() 702 OMPClauseWithPreInit(this), LParenLoc(LParenLoc), in OMPNumThreadsClause() 773 LParenLoc(LParenLoc), Safelen(Len) {} in OMPSafelenClause() 839 LParenLoc(LParenLoc), Simdlen(Len) {} in OMPSimdlenClause() 1108 LParenLoc(LParenLoc), NumForLoops(Num) {} in OMPCollapseClause() 1183 LParenLoc(LParenLoc), Kind(A), KindKwLoc(ALoc) {} in OMPDefaultClause() 1265 LParenLoc(LParenLoc), Kind(A), KindKwLoc(ALoc) {} in OMPProcBindClause() 4676 LParenLoc(LParenLoc) {} in OMPDepobjClause() 8167 LParenLoc(LParenLoc), Evt(Evt) {} in OMPDetachClause() [all …]
|
| H A D | TypeLoc.h | 1141 SourceLocation LParenLoc; member 1150 return this->getLocalData()->LParenLoc; in getLParenLoc() 1158 this->getLocalData()->LParenLoc = Loc; in setLParenLoc() 1377 SourceLocation LParenLoc; member 1419 return this->getLocalData()->LParenLoc; in getLParenLoc() 1423 this->getLocalData()->LParenLoc = Loc; in setLParenLoc() 1929 SourceLocation LParenLoc; member 1953 return this->getLocalData()->LParenLoc; in getLParenLoc() 1957 this->getLocalData()->LParenLoc = Loc; in setLParenLoc() 2551 return this->getLocalData()->LParenLoc; in getLParenLoc() [all …]
|
| H A D | Stmt.h | 1965 SourceLocation LParenLoc; variable 2151 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() 2208 SourceLocation LParenLoc; variable 2321 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() 2395 SourceLocation LParenLoc, RParenLoc; variable 2407 SourceLocation WL, SourceLocation LParenLoc, 2481 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() 2482 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc() 2569 SourceLocation LParenLoc, RParenLoc; variable 2614 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() [all …]
|
| H A D | ExprCXX.h | 1730 SourceLocation LParenLoc; variable 1740 LParenLoc(lParenLoc), RParenLoc(rParenLoc) { in CXXFunctionalCastExpr() 1766 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() 1767 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc() 3455 SourceLocation LParenLoc; variable 3489 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() 3490 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc() 4597 SourceLocation LParenLoc; variable 4612 LParenLoc(LParenLoc), EllipsisLoc(EllipsisLoc), RParenLoc(RParenLoc), in CXXFoldExpr() 4654 if (LParenLoc.isValid()) in getBeginLoc() [all …]
|
| H A D | ExprObjC.h | 1633 SourceLocation LParenLoc; variable 1638 ObjCBridgedCastExpr(SourceLocation LParenLoc, ObjCBridgeCastKind Kind, in ObjCBridgedCastExpr() argument 1643 LParenLoc(LParenLoc), BridgeKeywordLoc(BridgeKeywordLoc), Kind(Kind) {} in ObjCBridgedCastExpr() 1649 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() 1662 SourceLocation getBeginLoc() const LLVM_READONLY { return LParenLoc; } in getBeginLoc()
|
| H A D | Expr.h | 3409 SourceLocation LParenLoc; variable 3435 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() 3436 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc() 3449 if (LParenLoc.isInvalid()) in getBeginLoc() 3451 return LParenLoc; in getBeginLoc() 4351 SourceLocation LParenLoc, RParenLoc; variable 4356 LParenLoc(LParenLoc), RParenLoc(RParenLoc) { in StmtExpr() 4373 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() 4374 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc() 5544 SourceLocation LParenLoc, RParenLoc; variable [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 397 Clause->setLParenLoc(LParenLoc); in Create() 527 SourceLocation LParenLoc, in Create() argument 638 SourceLocation LParenLoc, in Create() argument 640 return new (C) OMPAlignClause(A, StartLoc, LParenLoc, EndLoc); in Create() 943 SourceLocation LParenLoc, in Create() argument 948 Clause->setLParenLoc(LParenLoc); in Create() 980 Clause->setLParenLoc(LParenLoc); in Create() 1011 SourceLocation LParenLoc, in Create() argument 1561 D.LParenLoc; in setAllocatorsData() 1579 Data.LParenLoc = getTrailingObjects< in getAllocatorData() [all …]
|
| H A D | Stmt.cpp | 924 : Stmt(IfStmtClass), LParenLoc(LPL), RParenLoc(RPL) { in IfStmt() 1021 : Stmt(ForStmtClass), LParenLoc(LP), RParenLoc(RP) in ForStmt() 1051 Expr *Cond, SourceLocation LParenLoc, in SwitchStmt() argument 1053 : Stmt(SwitchStmtClass), FirstCase(nullptr), LParenLoc(LParenLoc), in SwitchStmt() 1079 Expr *Cond, SourceLocation LParenLoc, in Create() argument 1086 return new (Mem) SwitchStmt(Ctx, Init, Var, Cond, LParenLoc, RParenLoc); in Create() 1119 Stmt *Body, SourceLocation WL, SourceLocation LParenLoc, in WhileStmt() argument 1131 setLParenLoc(LParenLoc); in WhileStmt() 1142 SourceLocation LParenLoc, in Create() argument 1148 return new (Mem) WhileStmt(Ctx, Var, Cond, Body, WL, LParenLoc, RParenLoc); in Create()
|
| H A D | ExprCXX.cpp | 1331 SourceLocation LParenLoc, in CXXUnresolvedConstructExpr() argument 1339 TSI(TSI), LParenLoc(LParenLoc), RParenLoc(RParenLoc) { in CXXUnresolvedConstructExpr() 1348 const ASTContext &Context, QualType T, TypeSourceInfo *TSI, SourceLocation LParenLoc, in Create() argument 1352 CXXUnresolvedConstructExpr(T, TSI, LParenLoc, Args, RParenLoc); in Create()
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | VariadicMacroSupport.h | 86 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()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | TreeTransform.h | 1601 SourceLocation LParenLoc, in RebuildOMPIfClause() argument 1801 SourceLocation StartLoc, SourceLocation LParenLoc, in RebuildOMPReductionClause() argument 2035 SourceLocation LParenLoc, in RebuildOMPHintClause() argument 2188 SourceLocation LParenLoc, SourceLocation EndLoc) { in RebuildOMPUsesAllocatorsClause() argument 2226 SourceLocation LParenLoc, in RebuildOMPInitClause() argument 2239 SourceLocation LParenLoc, in RebuildOMPUseClause() argument 2298 SourceLocation LParenLoc, in RebuildOMPBindClause() argument 10444 NewD.LParenLoc = D.LParenLoc; in TransformOMPUsesAllocatorsClause() 12966 SourceLocation LParenLoc = T->getTypeLoc().getEndLoc(); in TransformCXXTemporaryObjectExpr() local 12968 T, LParenLoc, Args, E->getEndLoc(), in TransformCXXTemporaryObjectExpr() [all …]
|
| H A D | SemaOpenMP.cpp | 16414 if (NumForLoops && LParenLoc.isValid()) { in ActOnOpenMPOrderedClause() 16425 StartLoc, LParenLoc, EndLoc); in ActOnOpenMPOrderedClause() 16446 ArgumentLoc, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSimpleClause() 16731 SourceLocation StartLoc, SourceLocation LParenLoc, in ActOnOpenMPSingleExprWithArgClause() argument 17481 SourceLocation LParenLoc = Locs.LParenLoc; in ActOnOpenMPVarListClause() local 17514 VarList, StartLoc, LParenLoc, ColonLoc, EndLoc, in ActOnOpenMPVarListClause() 18118 SourceLocation LParenLoc, SourceLocation EndLoc) { in ActOnOpenMPLastprivateClause() argument 19501 SourceLocation StartLoc, SourceLocation LParenLoc, in ActOnOpenMPReductionClause() argument 20465 Context, StartLoc, LParenLoc, EndLoc, in ActOnOpenMPDependClause() 20526 LParenLoc, ModifierLoc, EndLoc); in ActOnOpenMPDeviceClause() [all …]
|
| H A D | SemaExprObjC.cpp | 1162 SourceLocation LParenLoc, in ParseObjCEncodeExpression() argument 1208 SourceLocation LParenLoc, in DiagnoseMismatchedSelectors() argument 1296 SourceLocation LParenLoc, in ParseObjCSelectorExpression() argument 1300 SourceRange(LParenLoc, RParenLoc)); in ParseObjCSelectorExpression() 1307 SourceRange SelectorRange(LParenLoc.getLocWithOffset(1), in ParseObjCSelectorExpression() 1366 Sel << SourceRange(LParenLoc, RParenLoc); in ParseObjCSelectorExpression() 1389 SourceLocation LParenLoc, in ParseObjCProtocolExpression() argument 4640 ExprResult Sema::BuildObjCBridgedCast(SourceLocation LParenLoc, in BuildObjCBridgedCast() argument 4731 Diag(LParenLoc, diag::err_arc_bridge_cast_incompatible) in BuildObjCBridgedCast() 4752 SourceLocation LParenLoc, in ActOnObjCBridgedCast() argument [all …]
|
| H A D | SemaObjCProperty.cpp | 173 SourceLocation LParenLoc, 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() 407 SourceLocation LParenLoc, in HandlePropertyInClassExtension() argument 512 ObjCPropertyDecl *PDecl = CreatePropertyDecl(S, CDecl, AtLoc, LParenLoc, in HandlePropertyInClassExtension() 561 SourceLocation LParenLoc, in CreatePropertyDecl() argument 618 LParenLoc, T, TInfo); in CreatePropertyDecl()
|
| H A D | SemaTemplateVariadic.cpp | 1184 ExprResult Sema::ActOnCXXFoldExpr(Scope *S, SourceLocation LParenLoc, Expr *LHS, in ActOnCXXFoldExpr() argument 1244 return BuildCXXFoldExpr(ULE, LParenLoc, LHS, Opc, EllipsisLoc, RHS, RParenLoc, in ActOnCXXFoldExpr() 1249 SourceLocation LParenLoc, Expr *LHS, in BuildCXXFoldExpr() argument 1255 CXXFoldExpr(Context.DependentTy, Callee, LParenLoc, LHS, Operator, in BuildCXXFoldExpr()
|
| H A D | SemaStmt.cpp | 880 SourceLocation LParenLoc, Stmt *InitStmt, in ActOnIfStmt() argument 914 : LParenLoc) in ActOnIfStmt() 946 return BuildIfStmt(IfLoc, StatementKind, LParenLoc, InitStmt, Cond, RParenLoc, in ActOnIfStmt() 952 SourceLocation LParenLoc, Stmt *InitStmt, in BuildIfStmt() argument 964 Cond.get().first, Cond.get().second, LParenLoc, in BuildIfStmt() 1091 SourceLocation LParenLoc, in ActOnStartOfSwitchStmt() argument 1116 LParenLoc, RParenLoc); in ActOnStartOfSwitchStmt() 1685 SourceLocation LParenLoc, ConditionResult Cond, in ActOnWhileStmt() argument 1701 WhileLoc, LParenLoc, RParenLoc); in ActOnWhileStmt() 2131 StmtResult Sema::ActOnForStmt(SourceLocation ForLoc, SourceLocation LParenLoc, in ActOnForStmt() argument [all …]
|
| H A D | DeclSpec.cpp | 162 SourceLocation LParenLoc, in getFunction() argument 198 I.Fun.LParenLoc = LParenLoc; in getFunction()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 4676 SourceLocation LParenLoc, 4977 SourceLocation LParenLoc, 5737 ExprResult BuildCStyleCastExpr(SourceLocation LParenLoc, 5744 ExprResult BuildVectorLiteral(SourceLocation LParenLoc, 5750 ExprResult ActOnCompoundLiteral(SourceLocation LParenLoc, 6405 SourceLocation LParenLoc, 10035 SourceLocation LParenLoc, 11394 SourceLocation LParenLoc, 11496 SourceLocation StartLoc, SourceLocation LParenLoc, 11673 SourceLocation StartLoc, SourceLocation LParenLoc, [all …]
|
| H A D | Initialization.h | 628 SourceLocation LParenLoc, in CreateDirect() argument 631 InitLoc, LParenLoc, RParenLoc); in CreateDirect() 688 SourceLocation LParenLoc, 692 InitLoc, LParenLoc, RParenLoc);
|
| H A D | DeclSpec.h | 1306 SourceLocation LParenLoc; member 1423 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() 1627 SourceLocation LParenLoc, 1687 static DeclaratorChunk getParen(SourceLocation LParenLoc, in getParen() 1691 I.Loc = LParenLoc; in getParen()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 1172 SourceLocation LParenLoc = Tok.getLocation(); in EvaluateHasIncludeCommon() local 1176 PP.Diag(LParenLoc, diag::err_pp_directive_required) << II; in EvaluateHasIncludeCommon() 1192 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon() 1193 PP.Diag(LParenLoc, diag::err_pp_expected_after) << II << tok::l_paren; in EvaluateHasIncludeCommon() 1200 LParenLoc = Tok.getLocation(); in EvaluateHasIncludeCommon() 1226 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateHasIncludeCommon() 1288 SourceLocation LParenLoc = Tok.getLocation(); in EvaluateFeatureLikeBuiltinMacro() local 1369 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateFeatureLikeBuiltinMacro() 1858 SourceLocation LParenLoc = Tok.getLocation(); in ExpandBuiltinMacro() local 1884 Diag(LParenLoc, diag::note_matching) << tok::l_paren; in ExpandBuiltinMacro()
|
| H A D | PPExpressions.cpp | 111 SourceLocation LParenLoc; in EvaluateDefined() local 114 LParenLoc = PeekTok.getLocation(); in EvaluateDefined() 146 if (LParenLoc.isValid()) { in EvaluateDefined() 154 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateDefined()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 2307 if (LParenLoc.isInvalid() || RParenLoc.isInvalid()) { in ParseExprAfterUnaryExprOrTypeTrait() 2312 Diag(LParenLoc, diag::err_expected_parentheses_around_typename) in ParseExprAfterUnaryExprOrTypeTrait() 2335 SourceLocation LParenLoc = Tok.getLocation(), RParenLoc; in ParseExprAfterUnaryExprOrTypeTrait() local 2339 CastRange = SourceRange(LParenLoc, RParenLoc); in ParseExprAfterUnaryExprOrTypeTrait() 2414 SourceLocation LParenLoc, RParenLoc; in ParseUnaryExprOrTypeTraitExpression() local 2420 LParenLoc = T.getOpenLocation(); in ParseUnaryExprOrTypeTraitExpression() 2435 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression() 2437 Diag(LParenLoc, diag::err_paren_sizeof_parameter_pack) in ParseUnaryExprOrTypeTraitExpression() 2439 << FixItHint::CreateInsertion(LParenLoc, "(") in ParseUnaryExprOrTypeTraitExpression() 3185 SourceLocation LParenLoc, in ParseCompoundLiteralExpression() argument [all …]
|
| H A D | ParseExprCXX.cpp | 1323 [&](SourceLocation LParenLoc, SourceLocation RParenLoc, in ParseLambdaExpressionAfterIntroducer() 1385 /*IsAmbiguous=*/false, LParenLoc, ParamInfo.data(), in ParseLambdaExpressionAfterIntroducer() 1393 /*DeclsInPrototype=*/None, LParenLoc, FunLocalRangeEnd, D, in ParseLambdaExpressionAfterIntroducer() 1405 SourceLocation LParenLoc = T.getOpenLocation(); in ParseLambdaExpressionAfterIntroducer() local 1429 ParseLambdaSpecifiers(LParenLoc, /*DeclEndLoc=*/T.getCloseLocation(), in ParseLambdaExpressionAfterIntroducer() 1565 SourceLocation LParenLoc, RParenLoc; in ParseCXXTypeid() local 1571 LParenLoc = T.getOpenLocation(); in ParseCXXTypeid() 1601 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true, in ParseCXXTypeid() 1615 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false, in ParseCXXTypeid()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | SourceLocationTest.cpp | 79 SourceLocation LParenLoc = Node.getLParenLoc(); in verify() local 82 Result.SourceManager->getSpellingLineNumber(LParenLoc); in verify() 84 Result.SourceManager->getSpellingColumnNumber(LParenLoc); in verify() 96 LParenLoc.print(Msg, *Result.SourceManager); in verify()
|