Home
last modified time | relevance | path

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

12

/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 …]
DExprCXX.h1398 SourceLocation LParenLoc; variable
1407 LParenLoc(lParenLoc), RParenLoc(rParenLoc) {} in CXXFunctionalCastExpr()
1423 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
1424 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc()
3028 SourceLocation LParenLoc; variable
3037 SourceLocation LParenLoc,
3050 SourceLocation LParenLoc,
3067 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
3068 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc()
4066 SourceLocation LParenLoc; variable
[all …]
DExprObjC.h1522 SourceLocation LParenLoc;
1532 ObjCBridgedCastExpr(SourceLocation LParenLoc, ObjCBridgeCastKind Kind,
1537 LParenLoc(LParenLoc), BridgeKeywordLoc(BridgeKeywordLoc), Kind(Kind) { }
1543 SourceLocation getLParenLoc() const { return LParenLoc; }
1556 SourceLocation getLocStart() const LLVM_READONLY { return LParenLoc; }
DExpr.h2566 SourceLocation LParenLoc; variable
2582 LParenLoc(lparenloc), TInfoAndScope(tinfo, fileScope), Init(init) {} in CompoundLiteralExpr()
2595 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
2596 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc()
2609 if (LParenLoc.isInvalid()) in getLocStart()
2611 return LParenLoc; in getLocStart()
3382 SourceLocation LParenLoc, RParenLoc; variable
3391 SubStmt(substmt), LParenLoc(lp), RParenLoc(rp) { } in StmtExpr()
3400 SourceLocation getLocStart() const LLVM_READONLY { return LParenLoc; } in getLocStart()
3403 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
[all …]
DDeclObjC.h733 SourceLocation LParenLoc; // location of '(' starting attribute list or null. variable
753 LParenLoc(LParenLocation), DeclType(T), DeclTypeSourceInfo(TSI), in ObjCPropertyDecl()
776 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc()
777 void setLParenLoc(SourceLocation L) { LParenLoc = L; } in setLParenLoc()
/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 …]
DExprCXX.cpp1063 SourceLocation LParenLoc, in CXXUnresolvedConstructExpr() argument
1075 LParenLoc(LParenLoc), in CXXUnresolvedConstructExpr()
1090 SourceLocation LParenLoc, in Create() argument
1094 return new (Mem) CXXUnresolvedConstructExpr(Type, LParenLoc, Args, RParenLoc); in Create()
DDeclCXX.cpp1705 LParenLoc(L), RParenLoc(R), IsDelegating(false), IsVirtual(IsVirtual), in CXXCtorInitializer()
1716 LParenLoc(L), RParenLoc(R), IsDelegating(false), IsVirtual(false), in CXXCtorInitializer()
1727 LParenLoc(L), RParenLoc(R), IsDelegating(false), IsVirtual(false), in CXXCtorInitializer()
1737 LParenLoc(L), RParenLoc(R), IsDelegating(true), IsVirtual(false), in CXXCtorInitializer()
1750 LParenLoc(L), RParenLoc(R), IsDelegating(false), IsVirtual(false), in CXXCtorInitializer()
/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 …]
DSemaTemplateVariadic.cpp952 ExprResult Sema::ActOnCXXFoldExpr(SourceLocation LParenLoc, Expr *LHS, in ActOnCXXFoldExpr() argument
987 return BuildCXXFoldExpr(LParenLoc, LHS, Opc, EllipsisLoc, RHS, RParenLoc); in ActOnCXXFoldExpr()
990 ExprResult Sema::BuildCXXFoldExpr(SourceLocation LParenLoc, Expr *LHS, in BuildCXXFoldExpr() argument
994 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()
313 SourceLocation LParenLoc, SourceLocation &Loc) { in LocPropertyAttribute() argument
314 if (LParenLoc.isMacroID()) in LocPropertyAttribute()
318 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(LParenLoc); in LocPropertyAttribute()
413 SourceLocation LParenLoc, in HandlePropertyInClassExtension() argument
514 ObjCPropertyDecl *PDecl = CreatePropertyDecl(S, CDecl, AtLoc, LParenLoc, in HandlePropertyInClassExtension()
562 SourceLocation LParenLoc, in CreatePropertyDecl() argument
617 LParenLoc, T, TInfo); in CreatePropertyDecl()
DSemaExpr.cpp5115 Sema::ActOnCallExpr(Scope *S, Expr *Fn, SourceLocation LParenLoc, in ActOnCallExpr() argument
5167 return BuildCallToObjectOfClassType(S, Fn, LParenLoc, ArgExprs, in ActOnCallExpr()
5177 return BuildCallToMemberFunction(S, Fn, LParenLoc, ArgExprs, RParenLoc); in ActOnCallExpr()
5189 return BuildOverloadedCallExpr(S, Fn, ULE, LParenLoc, ArgExprs, in ActOnCallExpr()
5193 return BuildCallToMemberFunction(S, Fn, LParenLoc, ArgExprs, RParenLoc); in ActOnCallExpr()
5261 return BuildResolvedCallExpr(Fn, NDecl, LParenLoc, ArgExprs, RParenLoc, in ActOnCallExpr()
5306 SourceLocation LParenLoc, in BuildResolvedCallExpr() argument
5369 return ExprError(Diag(LParenLoc, diag::err_typecheck_call_not_function) in BuildResolvedCallExpr()
5384 return ExprError(Diag(LParenLoc, diag::err_typecheck_call_not_function) in BuildResolvedCallExpr()
5392 return ExprError(Diag(LParenLoc,diag::err_kern_call_not_global_function) in BuildResolvedCallExpr()
[all …]
DSemaOverload.cpp11213 SourceLocation LParenLoc, in BuildRecoveryCallExpr() argument
11272 return SemaRef.ActOnCallExpr(/*Scope*/ nullptr, NewFn.get(), LParenLoc, in BuildRecoveryCallExpr()
11348 SourceLocation LParenLoc, in FinishOverloadedCallExpr() argument
11357 return BuildRecoveryCallExpr(SemaRef, S, Fn, ULE, LParenLoc, Args, in FinishOverloadedCallExpr()
11368 return SemaRef.BuildResolvedCallExpr(Fn, FDecl, LParenLoc, Args, RParenLoc, in FinishOverloadedCallExpr()
11375 ExprResult Recovery = BuildRecoveryCallExpr(SemaRef, S, Fn, ULE, LParenLoc, in FinishOverloadedCallExpr()
11421 return SemaRef.BuildResolvedCallExpr(Fn, FDecl, LParenLoc, Args, RParenLoc, in FinishOverloadedCallExpr()
11449 SourceLocation LParenLoc, in BuildOverloadedCallExpr() argument
11459 if (buildOverloadedCallSet(S, Fn, ULE, Args, LParenLoc, &CandidateSet, in BuildOverloadedCallExpr()
11472 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
594 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXUuidof() argument
1214 SourceLocation LParenLoc, in ActOnCXXTypeConstructExpr() argument
1225 auto Result = BuildCXXTypeConstructExpr(TInfo, LParenLoc, exprs, RParenLoc); in ActOnCXXTypeConstructExpr()
1241 SourceLocation LParenLoc, in BuildCXXTypeConstructExpr() argument
1248 return CXXUnresolvedConstructExpr::Create(Context, TInfo, LParenLoc, Exprs, in BuildCXXTypeConstructExpr()
1252 bool ListInitialization = LParenLoc.isInvalid(); in BuildCXXTypeConstructExpr()
1264 return BuildCXXFunctionalCastExpr(TInfo, LParenLoc, Arg, RParenLoc); in BuildCXXTypeConstructExpr()
1297 : InitializationKind::CreateDirect(TyBeginLoc, LParenLoc, RParenLoc) in BuildCXXTypeConstructExpr()
1298 : InitializationKind::CreateValue(TyBeginLoc, LParenLoc, RParenLoc); in BuildCXXTypeConstructExpr()
[all …]
/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);
DDeclSpec.h1237 unsigned LParenLoc; member
1337 return SourceLocation::getFromRawEncoding(LParenLoc); in getLParenLoc()
1528 SourceLocation LParenLoc,
1588 static DeclaratorChunk getParen(SourceLocation LParenLoc, in getParen()
1592 I.Loc = LParenLoc; in getParen()
/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()
DPPExpressions.cpp97 SourceLocation LParenLoc; in EvaluateDefined() local
100 LParenLoc = PeekTok.getLocation(); in EvaluateDefined()
129 if (LParenLoc.isValid()) { in EvaluateDefined()
137 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateDefined()
/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 …]
DParseExprCXX.cpp1139 SourceLocation LParenLoc = T.getOpenLocation(); in ParseLambdaExpressionAfterIntroducer() local
1210 LParenLoc, in ParseLambdaExpressionAfterIntroducer()
1227 LParenLoc, FunLocalRangeEnd, D, in ParseLambdaExpressionAfterIntroducer()
1374 SourceLocation LParenLoc, RParenLoc; in ParseCXXCasts() local
1405 SourceLocation LParenLoc, RParenLoc; in ParseCXXTypeid() local
1411 LParenLoc = T.getOpenLocation(); in ParseCXXTypeid()
1440 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true, in ParseCXXTypeid()
1454 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false, in ParseCXXTypeid()

12