Home
last modified time | relevance | path

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

1234

/external/clang/include/clang/AST/
DOpenMPClause.h124 SourceLocation LParenLoc; variable
152 SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) in OMPVarListClause() argument
153 : OMPClause(K, StartLoc, EndLoc), LParenLoc(LParenLoc), NumVars(N) {} in OMPVarListClause()
177 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; } in setLParenLoc()
179 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
200 SourceLocation LParenLoc; variable
235 SourceLocation StartLoc, SourceLocation LParenLoc, in OMPIfClause() argument
238 : OMPClause(OMPC_if, StartLoc, EndLoc), LParenLoc(LParenLoc), in OMPIfClause()
245 : OMPClause(OMPC_if, SourceLocation(), SourceLocation()), LParenLoc(), in OMPIfClause()
250 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 …]
/external/llvm-project/clang/include/clang/AST/
DOpenMPClause.h179 SourceLocation LParenLoc; member
183 OMPVarListLocTy(SourceLocation StartLoc, SourceLocation LParenLoc, in OMPVarListLocTy()
185 : StartLoc(StartLoc), LParenLoc(LParenLoc), EndLoc(EndLoc) {} in OMPVarListLocTy()
195 SourceLocation LParenLoc; variable
209 SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) in OMPVarListClause() argument
210 : OMPClause(K, StartLoc, EndLoc), LParenLoc(LParenLoc), NumVars(N) {} in OMPVarListClause()
248 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; } in setLParenLoc()
251 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
273 SourceLocation LParenLoc; variable
288 OMPAllocatorClause(Expr *A, SourceLocation StartLoc, SourceLocation LParenLoc, in OMPAllocatorClause() argument
[all …]
DTypeLoc.h1109 SourceLocation LParenLoc; member
1118 return this->getLocalData()->LParenLoc; in getLParenLoc()
1126 this->getLocalData()->LParenLoc = Loc; in setLParenLoc()
1345 SourceLocation LParenLoc; member
1387 return this->getLocalData()->LParenLoc; in getLParenLoc()
1391 this->getLocalData()->LParenLoc = Loc; in setLParenLoc()
1848 SourceLocation LParenLoc; member
1872 return this->getLocalData()->LParenLoc; in getLParenLoc()
1876 this->getLocalData()->LParenLoc = Loc; in setLParenLoc()
1950 SourceLocation KWLoc, LParenLoc, RParenLoc; member
[all …]
DStmt.h1929 SourceLocation LParenLoc; variable
1951 VarDecl *Var, Expr *Cond, SourceLocation LParenLoc,
2092 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
2093 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; } in setLParenLoc()
2143 SourceLocation LParenLoc; variable
2159 SourceLocation LParenLoc, SourceLocation RParenLoc);
2167 Expr *Cond, SourceLocation LParenLoc,
2256 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
2257 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; } in setLParenLoc()
2330 SourceLocation LParenLoc, RParenLoc; variable
[all …]
DExprCXX.h1720 SourceLocation LParenLoc; variable
1730 LParenLoc(lParenLoc), RParenLoc(rParenLoc) { in CXXFunctionalCastExpr()
1756 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
1757 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc()
1762 bool isListInitialization() const { return LParenLoc.isInvalid(); } in isListInitialization()
3428 SourceLocation LParenLoc; variable
3434 SourceLocation LParenLoc, ArrayRef<Expr *> Args,
3445 SourceLocation LParenLoc,
3462 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
3463 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc()
[all …]
/external/clang/lib/AST/
DOpenMPClause.cpp173 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
178 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
204 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
209 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
252 const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, in Create() argument
258 new (Mem) OMPLastprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
276 SourceLocation LParenLoc, in Create() argument
281 new (Mem) OMPSharedClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
316 const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, in Create() argument
325 StartLoc, LParenLoc, Modifier, ModifierLoc, ColonLoc, EndLoc, VL.size()); in Create()
[all …]
/external/llvm-project/clang/lib/AST/
DOpenMPClause.cpp307 SourceLocation LParenLoc, in Create() argument
311 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); in Create()
363 SourceLocation LParenLoc, SourceLocation ArgumentLoc, in Create() argument
370 Clause->setLParenLoc(LParenLoc); in Create()
396 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
401 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
427 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
432 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
475 const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, in Create() argument
482 StartLoc, LParenLoc, EndLoc, LPKind, LPKindLoc, ColonLoc, VL.size()); in Create()
[all …]
DStmt.cpp912 : Stmt(IfStmtClass), LParenLoc(LPL), RParenLoc(RPL) { in IfStmt()
1001 : Stmt(ForStmtClass), LParenLoc(LP), RParenLoc(RP) in ForStmt()
1031 Expr *Cond, SourceLocation LParenLoc, in SwitchStmt() argument
1033 : Stmt(SwitchStmtClass), FirstCase(nullptr), LParenLoc(LParenLoc), in SwitchStmt()
1059 Expr *Cond, SourceLocation LParenLoc, in Create() argument
1066 return new (Mem) SwitchStmt(Ctx, Init, Var, Cond, LParenLoc, RParenLoc); in Create()
1099 Stmt *Body, SourceLocation WL, SourceLocation LParenLoc, in WhileStmt() argument
1111 setLParenLoc(LParenLoc); in WhileStmt()
1122 SourceLocation LParenLoc, in Create() argument
1128 return new (Mem) WhileStmt(Ctx, Var, Cond, Body, WL, LParenLoc, RParenLoc); in Create()
/external/llvm-project/clang/include/clang/Lex/
DVariadicMacroSupport.h90 void sawVAOptFollowedByOpeningParens(const SourceLocation LParenLoc) { in sawVAOptFollowedByOpeningParens() argument
92 UnmatchedOpeningParens.push_back(LParenLoc); in sawVAOptFollowedByOpeningParens()
111 void sawOpeningParen(SourceLocation LParenLoc) { in sawOpeningParen() argument
113 UnmatchedOpeningParens.push_back(LParenLoc); in sawOpeningParen()
/external/clang/lib/Sema/
DSemaOpenMP.cpp7249 SourceLocation LParenLoc, in ActOnOpenMPSingleExprClause() argument
7254 Res = ActOnOpenMPFinalClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
7257 Res = ActOnOpenMPNumThreadsClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
7260 Res = ActOnOpenMPSafelenClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
7263 Res = ActOnOpenMPSimdlenClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
7266 Res = ActOnOpenMPCollapseClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
7269 Res = ActOnOpenMPOrderedClause(StartLoc, EndLoc, LParenLoc, Expr); in ActOnOpenMPSingleExprClause()
7272 Res = ActOnOpenMPDeviceClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
7275 Res = ActOnOpenMPNumTeamsClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
7278 Res = ActOnOpenMPThreadLimitClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
[all …]
DTreeTransform.h1215 SourceLocation WhileLoc, SourceLocation LParenLoc, in RebuildDoStmt() argument
1217 return getSema().ActOnDoStmt(DoLoc, Body, WhileLoc, LParenLoc, in RebuildDoStmt()
1225 StmtResult RebuildForStmt(SourceLocation ForLoc, SourceLocation LParenLoc, in RebuildForStmt() argument
1229 return getSema().ActOnForStmt(ForLoc, LParenLoc, Init, Cond, in RebuildForStmt()
1400 SourceLocation LParenLoc, in RebuildOMPIfClause() argument
1405 LParenLoc, NameModifierLoc, ColonLoc, in RebuildOMPIfClause()
1414 SourceLocation LParenLoc, in RebuildOMPFinalClause() argument
1416 return getSema().ActOnOpenMPFinalClause(Condition, StartLoc, LParenLoc, in RebuildOMPFinalClause()
1426 SourceLocation LParenLoc, in RebuildOMPNumThreadsClause() argument
1429 LParenLoc, EndLoc); in RebuildOMPNumThreadsClause()
[all …]
DSemaExprObjC.cpp1084 SourceLocation LParenLoc, in ParseObjCEncodeExpression() argument
1092 getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression()
1099 SourceLocation LParenLoc, in HelperToDiagnoseMismatchedMethodsInGlobalPool() argument
1116 << Method->getSelector() << FixItHint::CreateInsertion(LParenLoc, "(") in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1130 SourceLocation LParenLoc, in DiagnoseMismatchedSelectors() argument
1141 if (HelperToDiagnoseMismatchedMethodsInGlobalPool(S, AtLoc, LParenLoc, RParenLoc, in DiagnoseMismatchedSelectors()
1147 if (HelperToDiagnoseMismatchedMethodsInGlobalPool(S, AtLoc, LParenLoc, RParenLoc, in DiagnoseMismatchedSelectors()
1156 SourceLocation LParenLoc, in ParseObjCSelectorExpression() argument
1160 SourceRange(LParenLoc, RParenLoc)); in ParseObjCSelectorExpression()
1163 SourceRange(LParenLoc, RParenLoc)); in ParseObjCSelectorExpression()
[all …]
/external/llvm-project/clang/lib/Sema/
DTreeTransform.h1323 SourceLocation LParenLoc, Sema::ConditionResult Cond, in RebuildIfStmt() argument
1326 return getSema().ActOnIfStmt(IfLoc, IsConstexpr, LParenLoc, Init, Cond, in RebuildIfStmt()
1335 SourceLocation LParenLoc, Stmt *Init, in RebuildSwitchStmtStart() argument
1338 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, LParenLoc, Init, Cond, in RebuildSwitchStmtStart()
1355 StmtResult RebuildWhileStmt(SourceLocation WhileLoc, SourceLocation LParenLoc, in RebuildWhileStmt() argument
1358 return getSema().ActOnWhileStmt(WhileLoc, LParenLoc, Cond, RParenLoc, Body); in RebuildWhileStmt()
1366 SourceLocation WhileLoc, SourceLocation LParenLoc, in RebuildDoStmt() argument
1368 return getSema().ActOnDoStmt(DoLoc, Body, WhileLoc, LParenLoc, in RebuildDoStmt()
1376 StmtResult RebuildForStmt(SourceLocation ForLoc, SourceLocation LParenLoc, in RebuildForStmt() argument
1380 return getSema().ActOnForStmt(ForLoc, LParenLoc, Init, Cond, in RebuildForStmt()
[all …]
DSemaOpenMP.cpp5993 SourceLocation LParenLoc, in ActOnOpenMPCall() argument
6072 NewCall = BuildCallExpr(Scope, BestExpr, LParenLoc, ArgExprs, RParenLoc, in ActOnOpenMPCall()
11759 SourceLocation LParenLoc, in ActOnOpenMPSingleExprClause() argument
11764 Res = ActOnOpenMPFinalClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
11767 Res = ActOnOpenMPNumThreadsClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
11770 Res = ActOnOpenMPSafelenClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
11773 Res = ActOnOpenMPSimdlenClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
11776 Res = ActOnOpenMPAllocatorClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
11779 Res = ActOnOpenMPCollapseClause(Expr, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSingleExprClause()
11782 Res = ActOnOpenMPOrderedClause(StartLoc, EndLoc, LParenLoc, Expr); in ActOnOpenMPSingleExprClause()
[all …]
/external/llvm-project/clang/include/clang/Sema/
DSema.h3683 SourceLocation LParenLoc,
3728 SourceLocation LParenLoc,
3732 BuildCallToObjectOfClassType(Scope *S, Expr *Object, SourceLocation LParenLoc,
4244 SourceLocation LParenLoc,
4262 SourceLocation LParenLoc,
4522 SourceLocation LParenLoc, Stmt *InitStmt,
4526 SourceLocation LParenLoc, Stmt *InitStmt,
4530 SourceLocation LParenLoc, Stmt *InitStmt,
4535 StmtResult ActOnWhileStmt(SourceLocation WhileLoc, SourceLocation LParenLoc,
4543 SourceLocation LParenLoc,
[all …]
DInitialization.h622 SourceLocation LParenLoc, in CreateDirect() argument
625 InitLoc, LParenLoc, RParenLoc); in CreateDirect()
682 SourceLocation LParenLoc,
686 InitLoc, LParenLoc, RParenLoc);
/external/clang/include/clang/Sema/
DSema.h2619 SourceLocation LParenLoc,
2647 SourceLocation LParenLoc,
2651 BuildCallToObjectOfClassType(Scope *S, Expr *Object, SourceLocation LParenLoc,
3132 SourceLocation LParenLoc,
3148 SourceLocation LParenLoc,
3419 SourceLocation LParenLoc,
4000 ExprResult ActOnCallExpr(Scope *S, Expr *Fn, SourceLocation LParenLoc,
4005 SourceLocation LParenLoc,
4015 ExprResult ActOnCastExpr(Scope *S, SourceLocation LParenLoc,
4018 ExprResult BuildCStyleCastExpr(SourceLocation LParenLoc,
[all …]
DInitialization.h491 SourceLocation LParenLoc, in CreateDirect() argument
494 InitLoc, LParenLoc, RParenLoc); in CreateDirect()
544 SourceLocation LParenLoc,
548 InitLoc, LParenLoc, RParenLoc);
/external/llvm-project/clang/lib/Lex/
DPPMacroExpansion.cpp1161 SourceLocation LParenLoc = Tok.getLocation(); in EvaluateHasIncludeCommon() local
1165 PP.Diag(LParenLoc, diag::err_pp_directive_required) << II; in EvaluateHasIncludeCommon()
1181 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon()
1182 PP.Diag(LParenLoc, diag::err_pp_expected_after) << II << tok::l_paren; in EvaluateHasIncludeCommon()
1189 LParenLoc = Tok.getLocation(); in EvaluateHasIncludeCommon()
1215 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateHasIncludeCommon()
1307 SourceLocation LParenLoc = Tok.getLocation(); in EvaluateFeatureLikeBuiltinMacro() local
1385 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateFeatureLikeBuiltinMacro()
1804 SourceLocation LParenLoc = Tok.getLocation(); in ExpandBuiltinMacro() local
1823 Diag(LParenLoc, diag::note_matching) << tok::l_paren; in ExpandBuiltinMacro()
DPPExpressions.cpp111 SourceLocation LParenLoc; in EvaluateDefined() local
114 LParenLoc = PeekTok.getLocation(); in EvaluateDefined()
144 if (LParenLoc.isValid()) { in EvaluateDefined()
152 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateDefined()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp1283 SourceLocation LParenLoc = Tok.getLocation(); in EvaluateHasIncludeCommon() local
1287 PP.Diag(LParenLoc, diag::err_pp_directive_required) << II->getName(); in EvaluateHasIncludeCommon()
1300 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon()
1301 PP.Diag(LParenLoc, diag::err_pp_expected_after) << II << tok::l_paren; in EvaluateHasIncludeCommon()
1309 LParenLoc = Tok.getLocation(); in EvaluateHasIncludeCommon()
1365 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateHasIncludeCommon()
1445 SourceLocation LParenLoc = Tok.getLocation(); in EvaluateFeatureLikeBuiltinMacro() local
1519 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateFeatureLikeBuiltinMacro()
1824 SourceLocation LParenLoc = Tok.getLocation(); in ExpandBuiltinMacro() local
1843 Diag(LParenLoc, diag::note_matching) << tok::l_paren; in ExpandBuiltinMacro()
/external/clang/lib/Parse/
DParseExpr.cpp1758 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait() local
1760 Diag(LParenLoc, diag::err_expected_parentheses_around_typename) in ParseExprAfterUnaryExprOrTypeTrait()
1762 << FixItHint::CreateInsertion(LParenLoc, "(") in ParseExprAfterUnaryExprOrTypeTrait()
1783 SourceLocation LParenLoc = Tok.getLocation(), RParenLoc; in ParseExprAfterUnaryExprOrTypeTrait() local
1787 CastRange = SourceRange(LParenLoc, RParenLoc); in ParseExprAfterUnaryExprOrTypeTrait()
1835 SourceLocation LParenLoc, RParenLoc; in ParseUnaryExprOrTypeTraitExpression() local
1841 LParenLoc = T.getOpenLocation(); in ParseUnaryExprOrTypeTraitExpression()
1856 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression()
1858 Diag(LParenLoc, diag::err_paren_sizeof_parameter_pack) in ParseUnaryExprOrTypeTraitExpression()
1860 << FixItHint::CreateInsertion(LParenLoc, "(") in ParseUnaryExprOrTypeTraitExpression()
[all …]
/external/llvm-project/clang/lib/Parse/
DParseExpr.cpp2267 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait() local
2269 Diag(LParenLoc, diag::err_expected_parentheses_around_typename) in ParseExprAfterUnaryExprOrTypeTrait()
2271 << FixItHint::CreateInsertion(LParenLoc, "(") in ParseExprAfterUnaryExprOrTypeTrait()
2292 SourceLocation LParenLoc = Tok.getLocation(), RParenLoc; in ParseExprAfterUnaryExprOrTypeTrait() local
2296 CastRange = SourceRange(LParenLoc, RParenLoc); in ParseExprAfterUnaryExprOrTypeTrait()
2344 SourceLocation LParenLoc, RParenLoc; in ParseUnaryExprOrTypeTraitExpression() local
2350 LParenLoc = T.getOpenLocation(); in ParseUnaryExprOrTypeTraitExpression()
2365 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression()
2367 Diag(LParenLoc, diag::err_paren_sizeof_parameter_pack) in ParseUnaryExprOrTypeTraitExpression()
2369 << FixItHint::CreateInsertion(LParenLoc, "(") in ParseUnaryExprOrTypeTraitExpression()
[all …]
/external/llvm-project/clang/unittests/AST/
DSourceLocationTest.cpp79 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()

1234